You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Regex for messages containing @here/@everyone ? #5
One big issues with webhooks is that they can mention @everyone and there's no current way to disable it.
This can be done by quoting a message with additional content.
What do you mean by "additional content"? The bot quotes messages using embeds instead of copying the content directly which means mentions will not actually send notifications 🤔
@Lustris Thanks for the explanation. Indeed we don't have any way to restrict an usage of @everyone / @here via webhook.
I honestly would like to respect the original post rather than modifying the content though it might cause this problem. Checking if the bot itself have a permission to use @everyone before re-posting the additional content through webhook may help resolving this issue.
I'm gonna continue to seek for the solution and keep you posted🙏
Activity
neet commentedon Jul 30, 2020
What do you mean by "additional content"? The bot quotes messages using embeds instead of copying the content directly which means mentions will not actually send notifications 🤔
Ref:

Lustris commentedon Jul 31, 2020
neet commentedon Jul 31, 2020
@Lustris Thanks for the explanation. Indeed we don't have any way to restrict an usage of @everyone / @here via webhook.
I honestly would like to respect the original post rather than modifying the content though it might cause this problem. Checking if the bot itself have a permission to use @everyone before re-posting the additional content through webhook may help resolving this issue.
I'm gonna continue to seek for the solution and keep you posted🙏
Lustris commentedon Jul 31, 2020
Thank you!! I'll be waiting for the solution!
I thought of 2 methods while I was wondering if there was a permission check for the bot.