Feature Request: mentionable_roles
field on role object for more granularity over mentioning roles
#7019
Unanswered
QuantumToasted
asked this question in
API Feature Requests & Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, the
MENTION_EVERYONE
permission controls whether or not a role's members can mention@everyone
,@here
, and ALL ROLES. This is extremely poor UX as it results in a all-or-nothing approach when it comes to allowing one role to mention another, meaning either members are allowed to mention everything or nothing, with no middle ground, or they are forced to use a bot to mention a specific role.I propose a new field be added to roles, for my example I'll call it
mentionable_roles
. It would simply be an array/list of snowflakes indicating which role(s) members with that role can actually mention. For example, if you wanted a Trusted (659068319110004776
) role to be able to mention only the Moderator (860192154704805928
) role, you could do:This would return the
MENTION_EVERYONE
permission to its previous purpose, namely just being able to mention@everyone
and@here
, and allowing server owners more fine grained control over mentioning news, moderator, or other roles which need to be.The UX in the client could be something similar to how channel/role exceptions to AutoMod rules are added, to save developer hours maybe?
Overall I think this is a must-needed feature for larger guilds or those with multiple mentionable roles, to combat spam and permissions abuse.
Beta Was this translation helpful? Give feedback.
All reactions