forked from engineering/cloudservices
Prepare for subcommand
parent
ef05fc5891
commit
9eca427ce9
|
@ -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 = {};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue