Discord.js: Add disable roles mention

Created on 22 Jul 2020  路  2Comments  路  Source: discordjs/discord.js

Is your feature request related to a problem? Please describe.
When I just disable everyone mentions in client options, and if I have a say command, a user can mention a role (if the bot has mention role permission). So, can you change the disable mentions option to an array and add disable roles on disable mentions option

Describe the ideal solution
Change the disable mentions option to an array and add disable roles on disable mentions option

enhancement

Most helpful comment

Maybe it would be a good idea to deprecate disableMentions?

All 2 comments

This is already possible via the allowedMentions options.

Maybe it would be a good idea to deprecate disableMentions?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

BrandonCookeDev picture BrandonCookeDev  路  3Comments

ghost picture ghost  路  3Comments

Dmitry221060 picture Dmitry221060  路  3Comments

shukriadams picture shukriadams  路  3Comments

tiritto picture tiritto  路  3Comments