From a159e838457844241e0ea75a7d69f3b443aa9e0f Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Fri, 17 Jun 2022 21:41:03 -0400 Subject: update deps --- src/lib/extensions/discord-akairo/BushCommand.ts | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/lib/extensions/discord-akairo/BushCommand.ts') 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 = -- cgit