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
I'm thinking about something like deco with a folder:
spamfilter
|___ spam.py # Where the logic happens (e.g. conditions above)
|___ constants.py # Where the constants are held (e.g. multipliers)
|___ raid.py # Raid alarm logic
I'm going to write some really rough code (pass galore) in the next day or so to get a better sense of how to tackle the problem!
Notification to @ moderators and @ admin would be really useful - i.e. if someone exceeds an s value and an action is invoked (e.g. mute or move user) then those @ roles should ideally be notified in a PM so they're aware.
Some ideas based off of existing spam filter rules, given a spam constant
s
:s
per message decreases with time between messagess
per message increases with length of messages
with multiplier per message if the message is a repeats
with multiplier per message if user is newAnd a whole lot more rules, but finding the balance between too many rules and being too simple could prove challenging.
The offending user could be muted, isolated to a channel, kicked, etc if their value of
s
exceeds a threshold.The text was updated successfully, but these errors were encountered: