diff options
Diffstat (limited to 'src/commands/moulberry-bush/capePermissions.ts')
-rw-r--r-- | src/commands/moulberry-bush/capePermissions.ts | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/commands/moulberry-bush/capePermissions.ts b/src/commands/moulberry-bush/capePermissions.ts index 93cfb99..dd210e2 100644 --- a/src/commands/moulberry-bush/capePermissions.ts +++ b/src/commands/moulberry-bush/capePermissions.ts @@ -1,4 +1,4 @@ -import { BushCommand, type ArgType, type BushMessage, type BushSlashMessage } from '#lib'; +import { AllowedMentions, BushCommand, type ArgType, type BushMessage, type BushSlashMessage } from '#lib'; import { ApplicationCommandOptionType, EmbedBuilder, PermissionFlagsBits } from 'discord.js'; import got from 'got'; @@ -32,9 +32,10 @@ export default class CapePermissionsCommand extends BushCommand { try { uuid = await util.mcUUID(args.ign); } catch (e) { - return await message.util.reply( - `${util.emojis.error} ${util.format.input(args.ign)} doesn't appear to be a valid username.` - ); + return await message.util.reply({ + content: `${util.emojis.error} ${util.format.input(args.ign)} doesn't appear to be a valid username.`, + allowedMentions: AllowedMentions.none() + }); } try { |