ErdbeerbaerLP / DiscordIntegration-Forge

Forge version of the Discord Integration mod
https://modrinth.com/plugin/dcintegration
MIT License
100 stars 55 forks source link

[Suggestion] Remove/regex Role Pings #195

Open Silverarmor opened 3 years ago

Silverarmor commented 3 years ago

Platform

(1.12.2)

What you want to be added?

image image

ryleu commented 2 years ago

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

Silverarmor commented 2 years ago

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

ryleu commented 2 years ago

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.