Discord Integration Forge

Discord Integration Forge

666k Downloads

[Suggestion] Remove/regex Role Pings

Silverarmor opened this issue · 3 comments

commented

Platform

  • 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

commented

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

commented

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

commented

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.