diff options
Diffstat (limited to 'src/lib/extensions')
-rw-r--r-- | src/lib/extensions/BotCommand.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/extensions/BotCommand.ts b/src/lib/extensions/BotCommand.ts index 4f62714..e86e176 100644 --- a/src/lib/extensions/BotCommand.ts +++ b/src/lib/extensions/BotCommand.ts @@ -1,6 +1,10 @@ -import { Command } from 'discord-akairo'; +import { Command, CommandOptions } from 'discord-akairo'; import { BotClient } from './BotClient'; export class BotCommand extends Command { public client: BotClient; + constructor(id: string, options?: CommandOptions) { + super(id, options) + this.options = options + } } |