diff options
Diffstat (limited to 'src/commands/leveling')
-rw-r--r-- | src/commands/leveling/leaderboard.ts | 3 | ||||
-rw-r--r-- | src/commands/leveling/level.ts | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/src/commands/leveling/leaderboard.ts b/src/commands/leveling/leaderboard.ts index d81d88b..7eef990 100644 --- a/src/commands/leveling/leaderboard.ts +++ b/src/commands/leveling/leaderboard.ts @@ -5,7 +5,6 @@ import { clientSendAndPermCheck, emojis, Level, - prefix, type CommandMessage, type OptArgType, type SlashMessage @@ -46,7 +45,7 @@ export default class LeaderboardCommand 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.` : '' }` ); 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.` : '' }` ); |