diff options
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}\``); |