aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions/BushCommand.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/extensions/BushCommand.ts')
-rw-r--r--src/lib/extensions/BushCommand.ts20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/lib/extensions/BushCommand.ts b/src/lib/extensions/BushCommand.ts
new file mode 100644
index 0000000..4f9dc6e
--- /dev/null
+++ b/src/lib/extensions/BushCommand.ts
@@ -0,0 +1,20 @@
+import { Command, CommandOptions } from 'discord-akairo';
+import { APIApplicationCommandOption } from 'discord-api-types';
+import { BushClient } from './BushClient';
+
+export interface BushCommandOptions extends CommandOptions {
+ slashCommandOptions?: APIApplicationCommandOption[];
+ description: {
+ content: string;
+ usage: string;
+ examples: string[];
+ };
+}
+
+export class BushCommand extends Command {
+ public client: BushClient;
+ constructor(id: string, options?: BushCommandOptions) {
+ super(id, options);
+ this.options = options;
+ }
+}