aboutsummaryrefslogtreecommitdiff
path: root/src/commands/leveling/level.ts
diff options
context:
space:
mode:
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.`
: ''
}`
);