aboutsummaryrefslogtreecommitdiff
path: root/src/commands/moulberry-bush
diff options
context:
space:
mode:
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);