From d4d5d0e822c9570a2ca9ef86cc21073dbbec2087 Mon Sep 17 00:00:00 2001 From: TymanWasTaken <32660892+tymanwastaken@users.noreply.github.com> Date: Fri, 7 May 2021 13:16:46 -0600 Subject: slash commands working and added execSlash to ping command --- src/lib/extensions/BotCommand.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/lib/extensions') 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 + } } -- cgit