diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-06-20 22:52:50 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-06-20 22:52:50 -0400 |
commit | 5c3da90f441c321f55ae735d6002f4da91f2481e (patch) | |
tree | ac6a993595eebe38fd5e7bd79ade4c5ec71be373 /src/lib/extensions/BushCommand.ts | |
parent | 87e77ae8cc69d0d7f1e3d6f614b03c9297e85ab3 (diff) | |
download | tanzanite-5c3da90f441c321f55ae735d6002f4da91f2481e.tar.gz tanzanite-5c3da90f441c321f55ae735d6002f4da91f2481e.tar.bz2 tanzanite-5c3da90f441c321f55ae735d6002f4da91f2481e.zip |
feat(*): aaaaa
Diffstat (limited to 'src/lib/extensions/BushCommand.ts')
-rw-r--r-- | src/lib/extensions/BushCommand.ts | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/extensions/BushCommand.ts b/src/lib/extensions/BushCommand.ts index edd3c31..8358c46 100644 --- a/src/lib/extensions/BushCommand.ts +++ b/src/lib/extensions/BushCommand.ts @@ -1,9 +1,9 @@ /* eslint-disable @typescript-eslint/explicit-module-boundary-types */ /* eslint-disable @typescript-eslint/no-explicit-any */ import { Command, CommandOptions } from 'discord-akairo'; -import { APIApplicationCommandOption } from 'discord-api-types'; import { Snowflake } from 'discord.js'; import { BushClient } from './BushClient'; +import { BushCommandHandler } from './BushCommandHandler'; import { BushInteractionMessage } from './BushInteractionMessage'; import { BushMessage } from './BushMessage'; @@ -11,7 +11,6 @@ export interface BushCommandOptions extends CommandOptions { hidden?: boolean; restrictedChannels?: Snowflake[]; restrictedGuilds?: Snowflake[]; - slashCommandOptions?: APIApplicationCommandOption[]; description: { content: string; usage: string; @@ -21,6 +20,7 @@ export interface BushCommandOptions extends CommandOptions { export class BushCommand extends Command { public declare client: BushClient; + public declare handler: BushCommandHandler; public options: BushCommandOptions; /** The channels the command is limited to run in. */ public restrictedChannels: Snowflake[]; @@ -37,9 +37,7 @@ export class BushCommand extends Command { } public exec(message: BushMessage, args: any): any; - // @ts-ignore: They are close enough public exec(message: BushMessage | BushInteractionMessage, args: any): any { - // @ts-ignore: They are close enough super.exec(message, args); } } |