diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-06-01 17:22:51 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-06-01 17:22:51 -0400 |
commit | d7099571b90c4211f90089bb41e90b0a08b86112 (patch) | |
tree | aa9cda0908fa37d96c036a6384d35f4b627bd5be /src/commands/moulberry-bush/capes.ts | |
parent | cb6368c78c2c3cdc0ff63be600750e81f815ce8c (diff) | |
download | tanzanite-d7099571b90c4211f90089bb41e90b0a08b86112.tar.gz tanzanite-d7099571b90c4211f90089bb41e90b0a08b86112.tar.bz2 tanzanite-d7099571b90c4211f90089bb41e90b0a08b86112.zip |
fix: remove user allowed mentions
Diffstat (limited to 'src/commands/moulberry-bush/capes.ts')
-rw-r--r-- | src/commands/moulberry-bush/capes.ts | 7 |
1 files changed, 5 insertions, 2 deletions
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); |