Is there a way to silence mentions inside of containers using Components V2?

I am writing a moderation bot using Components V2. The code in the screenshot I attached works pretty good however, it pings anyone mentioned in the container. I was wondering if there is a way to silence the pings while still mentioning the user.
No description
3 Replies
Kanji
KanjiOP•4w ago
I just updated discord.js to 14.22.1.
d.js docs
d.js docs•4w ago
You can control which entities receive notifications via the allowedMentions option. You can: - Set a default on the client - Set for a specific message - Use the repliedUser key to disable in-line reply mentions
{ ..., allowedMentions: { parse: ["users", "roles"] } }
{ ..., allowedMentions: { parse: ["users", "roles"] } }
Kanji
KanjiOP•4w ago
Thanks. That worked perfectly.

Did you find this page helpful?