Commit graph

9 commits

Author SHA1 Message Date
Dragory
249fff259b
Fix crash 2020-01-29 02:51:07 +02:00
Dragory
89f545eb62
Allow overriding user notification method for mod actions via -notify and -notify-channel. Allow setting these settings for automod actions as well. 2020-01-29 02:44:11 +02:00
Dragory
5d49a3b5eb
automod: delete obsolete constant; bump recent action expiry time to 5 minutes 2020-01-28 22:18:12 +02:00
Dragory
7cb485b798
Bot response style tweak 2020-01-28 22:16:37 +02:00
Dragory
2a01ef1edd
Fix [object Promise] on automod case notes 2020-01-28 22:16:19 +02:00
Dragory
462a604c8b
Fix antiraid_level override criteria not working 2020-01-28 22:15:32 +02:00
Dragory
60af27c526
Fix antiraid level not being set properly 2020-01-27 22:07:46 +02:00
Dragory
84ed1405f0
Fix various automod actions not working for 'other' type matches 2020-01-27 21:59:13 +02:00
Dragory
84135b201b
Add anti-raid levels to automod. Large refactor of spam detection. Add member_join and member_join_spam triggers.
Anti-raid levels don't by themselves do anything, but they can be
used in overrides to activate specific automod items.

Spam detection should now be more reliable and also combine further
spam messages after the initial detection into the archive.

Messages deleted by automod no longer create the normal deletion log
entry. Instead, the AUTOMOD_ACTION log entry contains the deleted
message or an archive if there are multiple (i.e. spam).
2020-01-26 19:54:32 +02:00