diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-05-28 20:13:49 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-05-28 20:13:49 -0400 |
commit | 25cf269e2e793de5fefb9aa3f19fb167168e06c6 (patch) | |
tree | cd5f2f3c097a84a2483a70b57b3cbba7b6f4a6be /src/commands/server-config | |
parent | e220f8462bbfb26e3237df34923be4acc5d83fee (diff) | |
download | tanzanite-25cf269e2e793de5fefb9aa3f19fb167168e06c6.tar.gz tanzanite-25cf269e2e793de5fefb9aa3f19fb167168e06c6.tar.bz2 tanzanite-25cf269e2e793de5fefb9aa3f19fb167168e06c6.zip |
stuff
Diffstat (limited to 'src/commands/server-config')
-rw-r--r-- | src/commands/server-config/prefix.ts | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/commands/server-config/prefix.ts b/src/commands/server-config/prefix.ts index f02e693..c60f8fb 100644 --- a/src/commands/server-config/prefix.ts +++ b/src/commands/server-config/prefix.ts @@ -57,10 +57,7 @@ export default class PrefixCommand extends BushCommand { } } - async execSlash( - message: CommandInteraction, - { prefix }: { prefix?: SlashCommandOption<string> } - ): Promise<void> { + async execSlash(message: CommandInteraction, { prefix }: { prefix?: SlashCommandOption<string> }): Promise<void> { await this.changePrefix(message.guild, prefix?.value); if (prefix) { await message.reply(`Sucessfully set prefix to \`${prefix.value}\``); |