aboutsummaryrefslogtreecommitdiff
path: root/src/commands/leveling/level.ts
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-10-21 23:35:13 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-10-21 23:35:13 -0400
commit44521f4560dc8b0bab055685437d8fa65a34377f (patch)
tree4750c8cf696a2489964edc409e640f6792ed92b6 /src/commands/leveling/level.ts
parenta8b3f2d258d6ef19aeff2c9d60d6b08a91277b2b (diff)
downloadtanzanite-44521f4560dc8b0bab055685437d8fa65a34377f.tar.gz
tanzanite-44521f4560dc8b0bab055685437d8fa65a34377f.tar.bz2
tanzanite-44521f4560dc8b0bab055685437d8fa65a34377f.zip
misc
Diffstat (limited to 'src/commands/leveling/level.ts')
-rw-r--r--src/commands/leveling/level.ts8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/commands/leveling/level.ts b/src/commands/leveling/level.ts
index 4d7adb3..219aab1 100644
--- a/src/commands/leveling/level.ts
+++ b/src/commands/leveling/level.ts
@@ -56,13 +56,7 @@ export default class LevelCommand extends BushCommand {
return await message.util.reply(
`${util.emojis.error} This command can only be run in servers with the leveling feature enabled.${
message.member?.permissions.has('MANAGE_GUILD')
- ? ` You can toggle features using the \`${
- message.util.isSlash
- ? '/'
- : client.config.isDevelopment
- ? 'dev '
- : message.util.parsed?.prefix ?? client.config.prefix
- }features\` command.`
+ ? ` You can toggle features using the \`${util.prefix(message)}features\` command.`
: ''
}`
);