Update unlock.ts

add command usage, and marshal role to allowed roles
merge-requests/2/head
john doe 2020-01-03 02:11:55 -05:00
parent 4a20e88566
commit beac839970
1 changed files with 2 additions and 1 deletions

View File

@ -7,7 +7,8 @@ export default class Unlock extends Command {
super(client); super(client);
this.name = 'unlock'; this.name = 'unlock';
this.description = 'Unlocks an account.'; 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; this.enabled = true;
} }