aboutsummaryrefslogtreecommitdiff
path: root/src/commands/moulberry-bush
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-02-23 22:00:23 -0500
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-02-23 22:00:23 -0500
commitb95f4e00566dc4b99527f6771d56a5e557779e66 (patch)
tree2de597a67c49cc5788ccedd7917075e083643860 /src/commands/moulberry-bush
parent084a815f3799764d2dd697e8c693c7f80e0c7ab7 (diff)
downloadtanzanite-b95f4e00566dc4b99527f6771d56a5e557779e66.tar.gz
tanzanite-b95f4e00566dc4b99527f6771d56a5e557779e66.tar.bz2
tanzanite-b95f4e00566dc4b99527f6771d56a5e557779e66.zip
feat: prefer bold over inline codeblocks
Diffstat (limited to 'src/commands/moulberry-bush')
-rw-r--r--src/commands/moulberry-bush/capePermissions.ts8
-rw-r--r--src/commands/moulberry-bush/capes.ts2
2 files changed, 7 insertions, 3 deletions
diff --git a/src/commands/moulberry-bush/capePermissions.ts b/src/commands/moulberry-bush/capePermissions.ts
index edb2836..7bf3926 100644
--- a/src/commands/moulberry-bush/capePermissions.ts
+++ b/src/commands/moulberry-bush/capePermissions.ts
@@ -43,7 +43,9 @@ export default class CapePermissionsCommand extends BushCommand {
capePerms = null;
}
if (capePerms == null) {
- return await message.util.reply(`${util.emojis.error} There was an error finding cape perms for \`${args.ign}\`.`);
+ return await message.util.reply(
+ `${util.emojis.error} There was an error finding cape perms for ${util.format.input(args.ign)}.`
+ );
} else {
if (capePerms?.perms) {
let index = null;
@@ -56,7 +58,9 @@ export default class CapePermissionsCommand extends BushCommand {
continue;
}
if (index == null)
- return await message.util.reply(`${util.emojis.error} \`${args.ign}\` does not appear to have any capes.`);
+ return await message.util.reply(
+ `${util.emojis.error} ${util.format.input(args.ign)} does not appear to have any capes.`
+ );
const userPerm: string[] = capePerms.perms[index].perms;
const embed = new Embed()
.setTitle(`${args.ign}'s Capes`)
diff --git a/src/commands/moulberry-bush/capes.ts b/src/commands/moulberry-bush/capes.ts
index 551a5c6..ab9e8a7 100644
--- a/src/commands/moulberry-bush/capes.ts
+++ b/src/commands/moulberry-bush/capes.ts
@@ -68,7 +68,7 @@ export default class CapesCommand extends BushCommand {
const embed = this.makeEmbed(cape);
await DeleteButton.send(message, { embeds: [embed] });
} else {
- await message.util.reply(`${util.emojis.error} Cannot find a cape called \`${args.cape}\`.`);
+ await message.util.reply(`${util.emojis.error} Cannot find a cape called ${util.format.input(args.cape)}.`);
}
} else {
const embeds: APIEmbed[] = capes.map(this.makeEmbed);