aboutsummaryrefslogtreecommitdiff
path: root/src/commands/info/pronouns.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/info/pronouns.ts')
-rw-r--r--src/commands/info/pronouns.ts15
1 files changed, 9 insertions, 6 deletions
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: [