From e1c613829950a534d9f45c00a033b83575be3b3c Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Fri, 17 Jun 2022 20:03:05 -0400 Subject: remove global client variable --- src/commands/leveling/level.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/commands/leveling/level.ts') diff --git a/src/commands/leveling/level.ts b/src/commands/leveling/level.ts index df3e5b2..7888695 100644 --- a/src/commands/leveling/level.ts +++ b/src/commands/leveling/level.ts @@ -5,7 +5,6 @@ import { clientSendAndPermCheck, emojis, Level, - prefix, type CommandMessage, type OptArgType, type SlashMessage @@ -54,7 +53,7 @@ export default class LevelCommand extends BushCommand { return await message.util.reply( `${emojis.error} This command can only be run in servers with the leveling feature enabled.${ message.member?.permissions.has(PermissionFlagsBits.ManageGuild) - ? ` You can toggle features using the \`${prefix(message)}features\` command.` + ? ` You can toggle features using the \`${this.client.utils.prefix(message)}features\` command.` : '' }` ); -- cgit