aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions/discord-akairo/BushCommand.ts
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-06-17 21:41:03 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-06-17 21:41:03 -0400
commita159e838457844241e0ea75a7d69f3b443aa9e0f (patch)
tree43a2dead67e0491cbcc4b9a05cec08d989bee58b /src/lib/extensions/discord-akairo/BushCommand.ts
parent4c8c757669042d71df8d5ac7abde6e2323099139 (diff)
downloadtanzanite-a159e838457844241e0ea75a7d69f3b443aa9e0f.tar.gz
tanzanite-a159e838457844241e0ea75a7d69f3b443aa9e0f.tar.bz2
tanzanite-a159e838457844241e0ea75a7d69f3b443aa9e0f.zip
update deps
Diffstat (limited to 'src/lib/extensions/discord-akairo/BushCommand.ts')
-rw-r--r--src/lib/extensions/discord-akairo/BushCommand.ts8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/lib/extensions/discord-akairo/BushCommand.ts b/src/lib/extensions/discord-akairo/BushCommand.ts
index 414da09..dc2295f 100644
--- a/src/lib/extensions/discord-akairo/BushCommand.ts
+++ b/src/lib/extensions/discord-akairo/BushCommand.ts
@@ -359,7 +359,7 @@ export interface ArgsInfo {
superUserOnly?: boolean;
}
-export class BushCommand extends Command {
+export abstract class BushCommand extends Command {
public declare client: BushClient;
public declare handler: BushCommandHandler;
public declare description: string;
@@ -539,21 +539,19 @@ export class BushCommand extends Command {
this.bypassChannelBlacklist = !!options_.bypassChannelBlacklist;
this.note = options_.note;
}
-}
-export interface BushCommand extends Command {
/**
* Executes the command.
* @param message - Message that triggered the command.
* @param args - Evaluated arguments.
*/
- exec(message: CommandMessage, args: any): any;
+ public abstract override exec(message: CommandMessage, args: any): any;
/**
* Executes the command.
* @param message - Message that triggered the command.
* @param args - Evaluated arguments.
*/
- exec(message: CommandMessage | SlashMessage, args: any): any;
+ public abstract override exec(message: CommandMessage | SlashMessage, args: any): any;
}
type SlashOptionKeys =