diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-09-09 21:48:26 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-09-09 21:48:26 -0400 |
commit | 20ec27eac550825a596e66220e887fa74a851f6a (patch) | |
tree | 48acd9daf6dd6f5b8e15b5928bb2f82107f1b918 /src/commands/leveling/level.ts | |
parent | 73c74f8a8c125077dcdf7882acd62f193e3bd0c8 (diff) | |
download | tanzanite-20ec27eac550825a596e66220e887fa74a851f6a.tar.gz tanzanite-20ec27eac550825a596e66220e887fa74a851f6a.tar.bz2 tanzanite-20ec27eac550825a596e66220e887fa74a851f6a.zip |
fix typo
Diffstat (limited to 'src/commands/leveling/level.ts')
-rw-r--r-- | src/commands/leveling/level.ts | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/commands/leveling/level.ts b/src/commands/leveling/level.ts index f14c005..33ad705 100644 --- a/src/commands/leveling/level.ts +++ b/src/commands/leveling/level.ts @@ -132,7 +132,17 @@ export default class LevelCommand extends BushCommand { if (!message.guild) return await message.util.reply(`${util.emojis.error} This command can only be run in a server.`); if (!(await message.guild.hasFeature('leveling'))) return await message.util.reply( - `${util.emojis.error} This command can only be run in commands with the leveling feature enabled.` + `${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.` + : '' + }` ); const user = args.user ?? message.author; try { |