Commit graph

36 commits

Author SHA1 Message Date
Dragory
b64335c901
automod: clear old message spam data when re-evaluating an edited message 2020-06-04 03:20:31 +03:00
Dragory
48c9721945
automod: fix match_attachment_type no longer matching on messages with no text content 2020-05-28 04:01:07 +03:00
Dragory
1fcf57cf13
automod: add guild info to matched invites 2020-05-28 03:28:25 +03:00
Dragory
cb4beacf8a
automod: add affects_bots 2020-05-28 00:55:09 +03:00
Dragory
2ad10129fa
Fix over-eager matching for YouTube embeds 2020-05-22 23:44:21 +03:00
Dragory
53a9c58dd4
automod.reply: allow embeds, add auto_delete option 2020-05-22 23:38:11 +03:00
Dragory
c63368187b
Merge branch 'automoMessageLink' of git://github.com/DarkView/ZeppelinBot into DarkView-automoMessageLink 2020-05-22 21:15:43 +03:00
Dragory
fd947ba191
Fix merge conflict 2020-05-22 20:55:15 +03:00
Dragory
fb8dc03aac
automod: only apply 1 matching rule on member join
This is consistent with message rule behaviour.
2020-05-22 20:53:30 +03:00
Dragory
130afa61eb
Run Automod on message edits 2020-05-22 20:52:23 +03:00
Dark
cb3a6c310d discordapp to discord 2020-05-05 15:14:41 +02:00
Dark
ca3016d945 automod: Add option to display message link 2020-04-19 21:02:05 +02:00
Dark
1108a83ea5 automod: Edit support and edit-reflag prevention 2020-04-19 20:58:44 +02:00
Dragory
37704069f1
automod: only match highlighted links in match_links by default 2020-04-17 23:28:09 +03:00
Dragory
96f44b873e
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
3c3327d9f0
Fix automod error when the member is not cached 2020-04-15 22:38:13 +03:00
Dragory
b30df3f8d4
Automod: add include_words/exclude_words and include_regex/exclude_regex to match_links trigger 2020-04-11 16:56:55 +03:00
Dragory
e67816ec7b
Automod: add deleteMessageDays option to ban action 2020-04-11 16:27:58 +03:00
Dragory
4ea9a76edd
Fix rare edge case crash in automod 2020-04-10 21:27:31 +03:00
Dragory
d125176907
Fix crash when trying to match words to a custom status with only an emoji 2020-04-10 11:27:23 +03:00
Dragory
5c62c0752f
Fix match_messages filters breaking when message doesn't have text content 2020-04-09 23:30:24 +03:00
Dragory
7485c7f7d7
automod: allow warn/mute/kick/ban for username, nickname, and custom status matching 2020-04-08 21:05:46 +03:00
Dragory
65112b39bb
Add 'reply' Automod action 2020-04-08 17:15:13 +03:00
Dragory
af360eaa73
Fix multiline automod message match alerts being cut off 2020-04-03 16:54:57 +03:00
Dragory
53daff498b
Merge branch 'master' of github.com:Dragory/ZeppelinBot 2020-04-03 16:41:01 +03:00
Dragory
1ac8c4e444
Fix automod mute action 2020-04-03 16:40:05 +03:00
Dark
2c63509084 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
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