diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-06-24 00:56:16 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-06-24 00:56:16 -0400 |
commit | 4176b6258e44e4a095376aaf0f4c687244243a69 (patch) | |
tree | 3b9144be9a2045483c90d92fff05b3ca0b288e52 /src/commands/dev/reload.ts | |
parent | e80446e23060c0325bbd6db620920d86694ec3ce (diff) | |
download | tanzanite-4176b6258e44e4a095376aaf0f4c687244243a69.tar.gz tanzanite-4176b6258e44e4a095376aaf0f4c687244243a69.tar.bz2 tanzanite-4176b6258e44e4a095376aaf0f4c687244243a69.zip |
feat(*): Began working on other punishment commands etc
Diffstat (limited to 'src/commands/dev/reload.ts')
-rw-r--r-- | src/commands/dev/reload.ts | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/commands/dev/reload.ts b/src/commands/dev/reload.ts index 94e31b0..f5fee88 100644 --- a/src/commands/dev/reload.ts +++ b/src/commands/dev/reload.ts @@ -1,6 +1,5 @@ import { stripIndent } from 'common-tags'; import { Message } from 'discord.js'; -import { SlashCommandOption } from '../../lib/extensions/BushClientUtil'; import { BushCommand } from '../../lib/extensions/BushCommand'; import { BushSlashMessage } from '../../lib/extensions/BushInteractionMessage'; @@ -51,11 +50,7 @@ export default class ReloadCommand extends BushCommand { } } - public async exec(message: Message, { fast }: { fast: boolean }): Promise<void> { + public async exec(message: Message | BushSlashMessage, { fast }: { fast: boolean }): Promise<void> { await message.util.send(await this.getResponse(fast)); } - - public async execSlash(message: BushSlashMessage, { fast }: { fast: SlashCommandOption<boolean> }): Promise<void> { - await message.interaction.reply(await this.getResponse(fast?.value)); - } } |