aboutsummaryrefslogtreecommitdiff
path: root/src/commands/server-config
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-05-28 20:13:49 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-05-28 20:13:49 -0400
commit25cf269e2e793de5fefb9aa3f19fb167168e06c6 (patch)
treecd5f2f3c097a84a2483a70b57b3cbba7b6f4a6be /src/commands/server-config
parente220f8462bbfb26e3237df34923be4acc5d83fee (diff)
downloadtanzanite-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.ts5
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}\``);