aboutsummaryrefslogtreecommitdiff
path: root/src/commands/dev/setLevel.ts
diff options
context:
space:
mode:
authorTymanWasTaken <32660892+tymanwastaken@users.noreply.github.com>2021-05-28 22:08:28 -0600
committerTymanWasTaken <32660892+tymanwastaken@users.noreply.github.com>2021-05-28 22:08:28 -0600
commitee665e568f244e1c465748718691404b7bf6feb0 (patch)
tree847333085377020969ce13cd6652d8894c503426 /src/commands/dev/setLevel.ts
parent35d8cbda559c479c66800d39535df02c807dc33a (diff)
parent57de6733b62c83ff197f9236f71545d8ef1e1103 (diff)
downloadtanzanite-ee665e568f244e1c465748718691404b7bf6feb0.tar.gz
tanzanite-ee665e568f244e1c465748718691404b7bf6feb0.tar.bz2
tanzanite-ee665e568f244e1c465748718691404b7bf6feb0.zip
Merge branch 'rewrite' of github.com:NotEnoughUpdates/bush-bot into rewrite
Diffstat (limited to 'src/commands/dev/setLevel.ts')
-rw-r--r--src/commands/dev/setLevel.ts5
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()
});