diff options
Diffstat (limited to 'src/commands/dev/setLevel.ts')
-rw-r--r-- | src/commands/dev/setLevel.ts | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/commands/dev/setLevel.ts b/src/commands/dev/setLevel.ts index ca555db..f536109 100644 --- a/src/commands/dev/setLevel.ts +++ b/src/commands/dev/setLevel.ts @@ -1,7 +1,5 @@ import { Message, User } from 'discord.js'; -import { SlashCommandOption } from '../../lib/extensions/BushClientUtil'; import { BushCommand } from '../../lib/extensions/BushCommand'; -import { BushSlashMessage } from '../../lib/extensions/BushInteractionMessage'; import { Level } from '../../lib/models'; import AllowedMentions from '../../lib/utils/AllowedMentions'; @@ -71,14 +69,4 @@ export default class SetLevelCommand extends BushCommand { allowedMentions: AllowedMentions.none() }); } - - async execSlash( - message: BushSlashMessage, - { user, level }: { user: SlashCommandOption<void>; level: SlashCommandOption<number> } - ): Promise<void> { - await message.interaction.reply({ - content: await this.setLevel(user.user, level.value), - allowedMentions: AllowedMentions.none() - }); - } } |