aboutsummaryrefslogtreecommitdiff
path: root/src/commands/server-config/prefix.ts
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-05-28 17:37:04 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-05-28 17:37:04 -0400
commitf1cdbd260c6c2249fc0d765949d44d889bcaedc8 (patch)
treea91883fc6de76d739f99c795f1248474df6f1efc /src/commands/server-config/prefix.ts
parentf3cde793e778d1dc29b704d9cce560c6e929e6e8 (diff)
downloadtanzanite-f1cdbd260c6c2249fc0d765949d44d889bcaedc8.tar.gz
tanzanite-f1cdbd260c6c2249fc0d765949d44d889bcaedc8.tar.bz2
tanzanite-f1cdbd260c6c2249fc0d765949d44d889bcaedc8.zip
I can't read anything
Diffstat (limited to 'src/commands/server-config/prefix.ts')
-rw-r--r--src/commands/server-config/prefix.ts11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/commands/server-config/prefix.ts b/src/commands/server-config/prefix.ts
index 899ecc9..f02e693 100644
--- a/src/commands/server-config/prefix.ts
+++ b/src/commands/server-config/prefix.ts
@@ -16,8 +16,7 @@ export default class PrefixCommand extends BushCommand {
],
userPermissions: ['MANAGE_GUILD'],
description: {
- content:
- 'Set the prefix of the current server (resets to default if prefix is not given)',
+ content: 'Set the prefix of the current server (resets to default if prefix is not given)',
usage: 'prefix [prefix]',
examples: ['prefix', 'prefix +']
},
@@ -54,9 +53,7 @@ export default class PrefixCommand extends BushCommand {
if (prefix) {
await message.util.send(`Sucessfully set prefix to \`${prefix}\``);
} else {
- await message.util.send(
- `Sucessfully reset prefix to \`${this.client.config.prefix}\``
- );
+ await message.util.send(`Sucessfully reset prefix to \`${this.client.config.prefix}\``);
}
}
@@ -68,9 +65,7 @@ export default class PrefixCommand extends BushCommand {
if (prefix) {
await message.reply(`Sucessfully set prefix to \`${prefix.value}\``);
} else {
- await message.reply(
- `Sucessfully reset prefix to \`${this.client.config.prefix}\``
- );
+ await message.reply(`Sucessfully reset prefix to \`${this.client.config.prefix}\``);
}
}
}