3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-18 23:55:02 +00:00
Commit graph

23 commits

Author SHA1 Message Date
Dragory
301ea2f122 automod: only match highlighted links in match_links by default 2020-04-17 23:28:09 +03:00
Dragory
96a59d4ca7 Fix rare automod crash when the member for a message can't be found
This edge case should only occur when the member is banned or otherwise
leaves the server before automod processes the message.
2020-04-16 00:03:07 +03:00
Dragory
5043965b1a Fix automod error when the member is not cached 2020-04-15 22:38:13 +03:00
Dragory
42b85f690c Automod: add include_words/exclude_words and include_regex/exclude_regex to match_links trigger 2020-04-11 16:56:55 +03:00
Dragory
dde0d2dcbd Automod: add deleteMessageDays option to ban action 2020-04-11 16:27:58 +03:00
Dragory
78d9469b27 Fix rare edge case crash in automod 2020-04-10 21:27:31 +03:00
Dragory
0afa654df0 Fix crash when trying to match words to a custom status with only an emoji 2020-04-10 11:27:23 +03:00
Dragory
29a5c027fb Fix match_messages filters breaking when message doesn't have text content 2020-04-09 23:30:24 +03:00
Dragory
ee41fcacfc automod: allow warn/mute/kick/ban for username, nickname, and custom status matching 2020-04-08 21:05:46 +03:00
Dragory
a06b0ccc01 Add 'reply' Automod action 2020-04-08 17:15:13 +03:00
Dragory
c4dc9be0e1 Fix multiline automod message match alerts being cut off 2020-04-03 16:54:57 +03:00
Dragory
964f630058 Merge branch 'master' of github.com:Dragory/ZeppelinBot 2020-04-03 16:41:01 +03:00
Dragory
0f73ddd2e1 Fix automod mute action 2020-04-03 16:40:05 +03:00
Dark
dcf8e53cd4 Added ability to white or blacklist attachment filetype in automod
Intended to allow certain channels (i.e. bug reporting ones) to only allow .log files with uploads enabled, making it impossible to upload mp4s to troll or similar
2020-04-03 16:07:19 +03:00
Dragory
ceaba4e7af Fix crash 2020-01-29 02:51:07 +02:00
Dragory
ad0caa39ab 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
ffb7162b2c automod: delete obsolete constant; bump recent action expiry time to 5 minutes 2020-01-28 22:18:12 +02:00
Dragory
e882632753 Bot response style tweak 2020-01-28 22:16:37 +02:00
Dragory
d1eab6858d Fix [object Promise] on automod case notes 2020-01-28 22:16:19 +02:00
Dragory
8862cb23de Fix antiraid_level override criteria not working 2020-01-28 22:15:32 +02:00
Dragory
873167fe8f Fix antiraid level not being set properly 2020-01-27 22:07:46 +02:00
Dragory
fcfbb97c8a Fix various automod actions not working for 'other' type matches 2020-01-27 21:59:13 +02:00
Dragory
c0c919a5ce 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