diff options
| author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-10-21 23:35:13 -0400 |
|---|---|---|
| committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-10-21 23:35:13 -0400 |
| commit | 44521f4560dc8b0bab055685437d8fa65a34377f (patch) | |
| tree | 4750c8cf696a2489964edc409e640f6792ed92b6 /src/commands/leveling | |
| parent | a8b3f2d258d6ef19aeff2c9d60d6b08a91277b2b (diff) | |
| download | tanzanite-44521f4560dc8b0bab055685437d8fa65a34377f.tar.gz tanzanite-44521f4560dc8b0bab055685437d8fa65a34377f.tar.bz2 tanzanite-44521f4560dc8b0bab055685437d8fa65a34377f.zip | |
misc
Diffstat (limited to 'src/commands/leveling')
| -rw-r--r-- | src/commands/leveling/leaderboard.ts | 8 | ||||
| -rw-r--r-- | src/commands/leveling/level.ts | 8 | ||||
| -rw-r--r-- | src/commands/leveling/setLevel.ts | 2 | ||||
| -rw-r--r-- | src/commands/leveling/setXp.ts | 2 |
4 files changed, 2 insertions, 18 deletions
diff --git a/src/commands/leveling/leaderboard.ts b/src/commands/leveling/leaderboard.ts index e3344a0..dde2270 100644 --- a/src/commands/leveling/leaderboard.ts +++ b/src/commands/leveling/leaderboard.ts @@ -44,13 +44,7 @@ export default class LeaderboardCommand 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.` : '' }` ); 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.` : '' }` ); diff --git a/src/commands/leveling/setLevel.ts b/src/commands/leveling/setLevel.ts index 9a7337a..d3ee162 100644 --- a/src/commands/leveling/setLevel.ts +++ b/src/commands/leveling/setLevel.ts @@ -55,8 +55,6 @@ export default class SetLevelCommand extends BushCommand { { user, level }: { user: User; level: number } ): Promise<unknown> { if (!message.guild) return await message.util.reply(`${util.emojis.error} This command can only be run in a guild.`); - if (message.author.id === '496409778822709251') - return await message.util.reply(`${util.emojis.error} This command is Bestower proof.`); if (!user.id) throw new Error('user.id is null'); if (isNaN(level)) diff --git a/src/commands/leveling/setXp.ts b/src/commands/leveling/setXp.ts index a73ae58..a140bfc 100644 --- a/src/commands/leveling/setXp.ts +++ b/src/commands/leveling/setXp.ts @@ -58,8 +58,6 @@ export default class SetXpCommand extends BushCommand { { user, xp }: { user: User; xp: number } ): Promise<unknown> { if (!message.guild) return await message.util.reply(`${util.emojis.error} This command can only be run in a guild.`); - if (message.author.id === '496409778822709251') - return await message.util.reply(`${util.emojis.error} This command is Bestower proof.`); if (!user.id) throw new Error('user.id is null'); if (isNaN(xp)) return await message.util.reply(`${util.emojis.error} Provide a valid number.`); |
