Prepare for subcommand

merge-requests/1/merge
Bsian 2019-10-29 20:12:01 +00:00
parent ef05fc5891
commit 9eca427ce9
No known key found for this signature in database
GPG Key ID: 097FB9A291026091
1 changed files with 3 additions and 0 deletions

View File

@ -18,6 +18,8 @@ export default class Command {
guildOnly?: boolean
subcommands: Command[]
public run(message: Message, args: string[]) {} // eslint-disable-line
constructor(client: Client) {
@ -28,6 +30,7 @@ export default class Command {
this.aliases = [];
this.guildOnly = true;
this.client = client;
this.subcommands = [];
this.permissions = {};
}
}