DiscordIntegration-Forge icon indicating copy to clipboard operation
DiscordIntegration-Forge copied to clipboard

[Suggestion] Remove/regex Role Pings

Open Silverarmor opened this issue 4 years ago • 3 comments

Platform

  • [x] Forge
  • [ ] Spigot

(1.12.2)

What you want to be added?

  • Provide a way to stop players from Role Pinging from In game to discord. E.g. - writing <@&<ROLEID> in game will lead to the role being pinged on discord

image image

Silverarmor avatar Jan 26 '21 21:01 Silverarmor

the solution is to tell discord to disallow everyone and role pings

ryleu avatar Mar 24 '22 23:03 ryleu

the solution is to tell discord to disallow everyone and role pings

This does not work, as dcintegration uses webhooks which bypass Discord's role permissions, and instead the requests to the API need to include a allowed_mentions query. See Discord Docs

Silverarmor avatar Mar 27 '22 07:03 Silverarmor

This does not work, as dcintegration uses webhooks which bypass Discord's role permissions, and instead the requests to the API need to include a allowed_mentions query. See Discord Docs

That’s what I said. Tell discord to disallow it. You can do that in the webhook request body. I wasn’t as specific as I should have been, but it got someone else to send a more complete answer, so that works, I guess.

ryleu avatar Mar 27 '22 14:03 ryleu