Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@everyone does not get filtered #7

Closed
kb-1000 opened this issue Feb 20, 2021 · 5 comments
Closed

@everyone does not get filtered #7

kb-1000 opened this issue Feb 20, 2021 · 5 comments

Comments

@kb-1000
Copy link
Contributor

kb-1000 commented Feb 20, 2021

This is critical.
Please make the mod filter @ everyone mentions (for example by adding a zero width space between the @ and the everyone)
image

@Tom-The-Geek
Copy link
Owner

Tom-The-Geek commented Feb 20, 2021

I should be able to fix this by sending an empty allowed mentions list as part of the webhook, rather than doing a (slightly) dirty hack

@kb-1000
Copy link
Contributor Author

kb-1000 commented Feb 20, 2021

Being able to mention specific users would be nice though (so a normal mention). Probably not everyone wants that though, so having it be configurable would be good...

@Tom-The-Geek
Copy link
Owner

Yep! I'll look into this one in the morning, I might have a few modes like: No filtering, No @everyone (inserts thin space) and Only specific, where you can include a list of allowed mentions.

@Tom-The-Geek
Copy link
Owner

Tom-The-Geek commented Feb 21, 2021

I've added a new config section that looks like this: (these are the default values)
image
that I'll push when I've tested that it works

@Tom-The-Geek
Copy link
Owner

Seems to be working, will push and release soon!
image
(@nothing is a role)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants