From 9eca427ce96f2e0129992247855b46cf6b281fc0 Mon Sep 17 00:00:00 2001 From: Bsian Date: Tue, 29 Oct 2019 20:12:01 +0000 Subject: [PATCH] Prepare for subcommand --- src/class/Command.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/class/Command.ts b/src/class/Command.ts index ba3ee3f..a6cec05 100644 --- a/src/class/Command.ts +++ b/src/class/Command.ts @@ -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 = {}; } }