diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-02-23 22:00:23 -0500 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-02-23 22:00:23 -0500 |
commit | b95f4e00566dc4b99527f6771d56a5e557779e66 (patch) | |
tree | 2de597a67c49cc5788ccedd7917075e083643860 /src/commands/leveling/setLevel.ts | |
parent | 084a815f3799764d2dd697e8c693c7f80e0c7ab7 (diff) | |
download | tanzanite-b95f4e00566dc4b99527f6771d56a5e557779e66.tar.gz tanzanite-b95f4e00566dc4b99527f6771d56a5e557779e66.tar.bz2 tanzanite-b95f4e00566dc4b99527f6771d56a5e557779e66.zip |
feat: prefer bold over inline codeblocks
Diffstat (limited to 'src/commands/leveling/setLevel.ts')
-rw-r--r-- | src/commands/leveling/setLevel.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/commands/leveling/setLevel.ts b/src/commands/leveling/setLevel.ts index e74d885..30bbb72 100644 --- a/src/commands/leveling/setLevel.ts +++ b/src/commands/leveling/setLevel.ts @@ -45,7 +45,7 @@ export default class SetLevelCommand extends BushCommand { if (isNaN(level) || !Number.isInteger(level)) return await message.util.reply(`${util.emojis.error} Provide a valid number to set the user's level to.`); if (level > 6553 || level < 0) - return await message.util.reply(`${util.emojis.error} You cannot set a level higher than \`6553\`.`); + return await message.util.reply(`${util.emojis.error} You cannot set a level higher than **6553**.`); const [levelEntry] = await Level.findOrBuild({ where: { @@ -60,9 +60,9 @@ export default class SetLevelCommand extends BushCommand { }); await levelEntry.update({ xp: Level.convertLevelToXp(level), user: user.id, guild: message.guild.id }); return await message.util.send({ - content: `Successfully set level of <@${ - user.id - }> to \`${level.toLocaleString()}\` (\`${levelEntry.xp.toLocaleString()}\` XP)`, + content: `Successfully set level of <@${user.id}> to ${util.format.input(level.toLocaleString())} (${util.format.input( + levelEntry.xp.toLocaleString() + )} XP)`, allowedMentions: AllowedMentions.none() }); } |