aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorTymanWasTaken <32660892+tymanwastaken@users.noreply.github.com>2021-05-07 13:16:46 -0600
committerTymanWasTaken <32660892+tymanwastaken@users.noreply.github.com>2021-05-07 13:16:46 -0600
commitd4d5d0e822c9570a2ca9ef86cc21073dbbec2087 (patch)
tree417c66368a79820b0ac2f36cd051e71b22b96f87 /src/lib
parent6c0cfa0857e98889dcc676364f66e184e0250098 (diff)
downloadtanzanite-d4d5d0e822c9570a2ca9ef86cc21073dbbec2087.tar.gz
tanzanite-d4d5d0e822c9570a2ca9ef86cc21073dbbec2087.tar.bz2
tanzanite-d4d5d0e822c9570a2ca9ef86cc21073dbbec2087.zip
slash commands working and added execSlash to ping command
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/extensions/BotCommand.ts6
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
+ }
}