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/info/pronouns.ts | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'src/commands/info') diff --git a/src/commands/info/pronouns.ts b/src/commands/info/pronouns.ts index 043b660..b45f9b3 100644 --- a/src/commands/info/pronouns.ts +++ b/src/commands/info/pronouns.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'; export default class PronounsCommand extends BushCommand { @@ -34,11 +34,14 @@ export default class PronounsCommand extends BushCommand { const pronouns = await util.getPronounsOf(user); if (!pronouns) { - return await message.util.reply( - `${author ? 'You do' : `${util.discord.escapeMarkdown(user.tag)} does`} not appear to have any pronouns set. Please${ - author ? '' : ' tell them to' - } go to https://pronoundb.org/ and set ${author ? 'your' : 'their'} pronouns.` - ); + return await message.util.reply({ + content: `${ + author ? 'You do' : `${util.discord.escapeMarkdown(user.tag)} does` + } not appear to have any pronouns set. Please${author ? '' : ' tell them to'} go to https://pronoundb.org/ and set ${ + author ? 'your' : 'their' + } pronouns.`, + allowedMentions: AllowedMentions.none() + }); } else { return await message.util.reply({ embeds: [ -- cgit