-
-
Notifications
You must be signed in to change notification settings - Fork 103
Ignore "scam" send by trusted users #1282
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
Conversation
Do we really only include these two roles? I would say that |
I wouldnt mind. I kinda wanted to prevent adding yet another config entry for roles. But welp 🤷 |
|
I agree with squid, we have this one in config already, which is perfect: "excludeCodeAutoDetectionRolePattern": "Top Helpers .+|Moderator|Community Ambassador|Expert"It's made for similar purpose, to not annoy trusted memebers that know how to format. It's nice to have some granularity wtih roles, those current patterns can also be renamed to something more general, and resued. Because intent behind them is same, trusted/knowledgeble member that shouldn't be automated, a member that is trusted to edit the tag, etc. Only in case if our worry is that we are exploding with pattens, and that almost every feature is using a unique one, otherwise I don't mind explicit naming even if we have slightly bigger configs. (there is also |
marko-radosavljevic
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cute! ❤️
I will be safe from the bloodthirsty robot! 😌 🙏
|



Summary
This makes it so that trusted users, such as moderators, are ignored by the scam detection.
The idea here is not to let them send scam around but when the scam detector has a false positive, mods could then at least still send the message for the user.
This of course bears the risk that if a mod is hacked, they can freely send undetected scam in the server. We never had such a case though and mods are required to enable 2FA anyways.
Config Changes
This adds a new entry to the
scamBlockerconfig: