From d7099571b90c4211f90089bb41e90b0a08b86112 Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Wed, 1 Jun 2022 17:22:51 -0400 Subject: fix: remove user allowed mentions --- src/commands/moulberry-bush/capes.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/commands/moulberry-bush/capes.ts') diff --git a/src/commands/moulberry-bush/capes.ts b/src/commands/moulberry-bush/capes.ts index a37388b..3f273c1 100644 --- a/src/commands/moulberry-bush/capes.ts +++ b/src/commands/moulberry-bush/capes.ts @@ -1,4 +1,4 @@ -import { BushCommand, ButtonPaginator, DeleteButton, type BushMessage, type OptArgType } from '#lib'; +import { AllowedMentions, BushCommand, ButtonPaginator, DeleteButton, type BushMessage, type OptArgType } from '#lib'; import assert from 'assert'; import { APIEmbed } from 'discord-api-types/v10'; import { ApplicationCommandOptionType, AutocompleteInteraction, PermissionFlagsBits } from 'discord.js'; @@ -68,7 +68,10 @@ 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 ${util.format.input(args.cape)}.`); + await message.util.reply({ + content: `${util.emojis.error} Cannot find a cape called ${util.format.input(args.cape)}.`, + allowedMentions: AllowedMentions.none() + }); } } else { const embeds: APIEmbed[] = capes.map(this.makeEmbed); -- cgit