From beac839970a19f68a92f3c9ced90896f8a37424d Mon Sep 17 00:00:00 2001 From: john doe <5-unknown@libraryofcode.org> Date: Fri, 3 Jan 2020 02:11:55 -0500 Subject: [PATCH] Update unlock.ts add command usage, and marshal role to allowed roles --- src/commands/unlock.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/commands/unlock.ts b/src/commands/unlock.ts index 56bc38c..9f7f49f 100644 --- a/src/commands/unlock.ts +++ b/src/commands/unlock.ts @@ -7,7 +7,8 @@ export default class Unlock extends Command { super(client); this.name = 'unlock'; this.description = 'Unlocks an account.'; - this.permissions = { roles: ['455972169449734144', '643619219988152321'] }; + this.usage = `${this.client.config.prefix}unlock [username || user ID] [Reason]`; + this.permissions = { roles: ['455972169449734144', '643619219988152321', '662163685439045632'] }; this.enabled = true; }