Request - Prevent webhook "bots" from pinging users #6737
-
I have a server with webhooks set up, with the intended use being for a game client to send posts via the webhook. From what I can tell, the webhook "bots" can't be given roles or custom permissions, so they are able to be abused very easily. I would prefer if I didn't have to change the whole server's notification settings to disable pings, as we use pings for other notifications that are intended to reach the community. As a side note, it would be nice if default notification settings could be changed on a per-channel basis, as this would stop the bots from sending notifications to users unintentionally by having the default notification setting as "Nothing". Getting hundreds of users to individually change their notification settings on a few channels to "Nothing" isn't feasible either. If there is already a way to do this, please let me know as I haven't been able to find one yet. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
webhook urls are not intended to be public information. we can't really support cases which involve exposing it. |
Beta Was this translation helpful? Give feedback.
-
This isn't something that should be done in discord directly. You're handing out a private key as public information. You should instead create a service that receives webhooks, and posts them to your discord webhook, ensuring that |
Beta Was this translation helpful? Give feedback.
This isn't something that should be done in discord directly. You're handing out a private key as public information. You should instead create a service that receives webhooks, and posts them to your discord webhook, ensuring that
allowed_mentions
(and any other properties you want to force to a specific value) is set to not allow this to happen.