diff options
Diffstat (limited to 'src/commands/dev/setLevel.ts')
-rw-r--r-- | src/commands/dev/setLevel.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/commands/dev/setLevel.ts b/src/commands/dev/setLevel.ts index 3a1bc85..e57e2f8 100644 --- a/src/commands/dev/setLevel.ts +++ b/src/commands/dev/setLevel.ts @@ -73,7 +73,10 @@ export default class SetLevelCommand extends BushCommand { }); } - async execSlash(message: CommandInteraction, { user, level }: { user: SlashCommandOption<void>; level: SlashCommandOption<number> }): Promise<void> { + async execSlash( + message: CommandInteraction, + { user, level }: { user: SlashCommandOption<void>; level: SlashCommandOption<number> } + ): Promise<void> { await message.reply(await this.setLevel(user.user, level.value), { allowedMentions: AllowedMentions.none() }); |