Open JackDotJS opened 4 years ago
I'm guessing this would only work for words like fa**ot, and the nword, not fuck? (and StopModReposts things)
simple, commons swears won't be filtered (because honestly who gives a shit), i only used it as an example
i forgot to mention, kirby on discord also provided me a VERY useful list of regex-based filters for common slurs, should help for those who try to get around this system.
https://docs.google.com/spreadsheets/d/1QPkDDl9AsdllDN2k8oBKKlueohcQktRv28671ieeZj4/edit#gid=0
https://docs.google.com/document/d/1h0mlu3L94M-QUdKQluxegVnX87oy-QmNYDFhWUZ331E/edit?usp=sharing file has been deleted
fake OF site list
I think a "mass ping" filter could also be added to this, but that may require accepting entire functions as filters.
This could probably use some kind of auto-mute, when a user is mass spamming pings/any other filtered phrase.
Should probably add "fake discord" links, such as dlcordapp.com and dircordapp.com
also add grabify.link. this is an IP grabber/link shortener in one.
Filters chat messages based on regular expressions or basic strings. This is an expanded version of the "StopModReposts Link Detector" from legacy versions of OptiBot
Example format:
filter
String OR RegExp.
action
Number.
0
- Remove offending message.1
- Post warning regarding message. Recommended since it's better than irreversibly deleting false-positives.This is a number simply to allow for additional functionality in the future.
reason
String. Self-explanatory.