3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-21 16:55:03 +00:00
Commit graph

90 commits

Author SHA1 Message Date
Dragory
b9d561018b Fix crash if automod alert message fails to render 2020-12-17 03:44:42 +02:00
Dragory
d7993c7bcc Fix automod warns, kicks, and bans not using default contact methods 2020-12-03 16:55:53 +02:00
Dragory
aaabdeb978 Fix automod mutes not using default contact methods 2020-12-03 16:47:11 +02:00
Dragory
b681316471 Fix accidental early return in match_invites automod trigger 2020-11-09 20:43:46 +02:00
Dragory
08ec91be28 Fix config parsing issues caused by RoleAddedTrigger/RoleRemovedTrigger default config 2020-11-09 20:12:54 +02:00
Dragory
6f2d5a3784 Turn on strict TS compilation. Fix up and tweak types accordingly. 2020-11-09 20:03:57 +02:00
Dragory
72829cff54 Add sticker_spam automod trigger 2020-10-16 02:01:07 +03:00
Dragory
d0fe2dea04 Update to new Knub 30 beta. Code clean-up. 2020-10-01 01:43:38 +03:00
Dragory
a0bc37faed Fix several role race conditions 2020-09-30 01:08:42 +03:00
Dragory
46ade30efb automod: treat unknown users as bots
Primarily because of webhooks that don't have a real user
associated with them.
2020-09-17 22:17:39 +03:00
Dragory
74d5fa1acc Add missing triggers to automod AvailableTriggers type 2020-09-15 02:12:17 +03:00
Dragory
aafb245b48 Disable match_embeds by default in other triggers as well. Add strip_markdown option to match_regex as well. 2020-09-15 02:02:24 +03:00
Dragory
e521fa6ec3 automod: allow alert action to send messages >2000 chars long 2020-09-15 01:57:46 +03:00
Dragory
2c765c2250 automod: disable match_embeds by default 2020-09-15 01:07:59 +03:00
Dragory
52a9a980b8 automod: add strip_markdown option to match_words trigger 2020-09-15 01:07:28 +03:00
Dragory
91d891ae4a automod: make match_attachment_type case-insensitive 2020-09-15 01:02:28 +03:00
Dragory
64137bb4fa Improve error handling with mutes 2020-09-13 22:45:02 +03:00
Dragory
bd05095429 automod: add role_added and role_removed triggers 2020-08-10 02:22:39 +03:00
Dragory
a998d7e79c automod: change_nickname action can now also take simply a string value 2020-08-10 01:37:20 +03:00
Dragory
8e1d39f26b More work on permission utils and eager permission checks 2020-08-07 01:21:31 +03:00
Dragory
143d820742 automod: fix error when matching an unknown invite 2020-08-05 18:07:09 +03:00
Dragory
17e7746b5e Replace transliteration package use with a custom normalizer function
Huge thanks to Nobody#6075 for doing most of the work for it!
2020-08-05 03:38:14 +03:00
Dragory
e14a93d752 Run user-supplied regexes in worker threads with a timeout 2020-08-05 01:15:36 +03:00
Dragory
ad1840df17 Fix up some automod context objects/types 2020-08-02 16:11:42 +03:00
Dragory
d5b8ee5583 automod: fix spam filters counting edits multiple times 2020-08-02 03:23:12 +03:00
Dragory
b696bf92fb automod: fix member_join trigger only_new matching 2020-07-30 22:49:34 +03:00
Dragory
d72a9defb6 automod: tweaks/fixes to spam detection 2020-07-30 22:47:33 +03:00
Dragory
0178131d21 automod: fix memberJoinSpam trigger returning duplicate contexts 2020-07-30 22:23:44 +03:00
Dragory
8090340c5f automod: ignore errors in 'clean' action
These are, in most cases, just that the message was already deleted
before we got to it or similar.
2020-07-30 20:41:00 +03:00
Dragory
4d5d381bc1 Debug++ 2020-07-30 20:15:35 +03:00
Dragory
a7d9bc63d7 automod: fix crash, improve user id detection 2020-07-30 13:45:42 +03:00
Dragory
b4ef037871 automod: fix possible error in config preprocessor 2020-07-30 13:28:46 +03:00
Dragory
93705f888b Fix up docs 2020-07-30 13:08:06 +03:00
Dragory
396c390d1f automod: add safeguard to config preprocessor 2020-07-30 11:05:03 +03:00
Dragory
a5db43f7f1 automod: fix logs showing duplicate users 2020-07-30 02:21:11 +03:00
Dragory
382462a310 automod: add cooldown support 2020-07-30 01:54:18 +03:00
Dragory
13e45f4c54 automod: add default configs for actions 2020-07-30 01:45:14 +03:00
Dragory
4eda695911 Add antiraid commands 2020-07-30 00:58:34 +03:00
Dragory
8cbd7ff46d automod: ensure actions only apply once per user/member 2020-07-29 22:58:14 +03:00
Dragory
ca3cc514e7 automod: don't generate summary if doing a silentClean 2020-07-29 22:54:26 +03:00
Dragory
ec3ba368db automod: separate actions taken with comma + space instead of just comma 2020-07-29 22:43:33 +03:00
Dragory
7f1f585f5e automod: create archives for matched spam 2020-07-29 22:42:31 +03:00
Dragory
05201d10f2 automod: update match summaries for match_* triggers 2020-07-29 22:42:17 +03:00
Dragory
b7f9937710 Add new Automod actions to availableActions 2020-07-28 23:28:42 +03:00
Dragory
b59d2f961e Don't run actions set to 'null' or 'false' 2020-07-28 21:53:01 +03:00
Dragory
62c68b99f7 More Automod updates 2020-07-28 21:51:58 +03:00
Dragory
00f27b930e Automod actions + ModActions public interface 2020-07-28 21:34:01 +03:00
Dragory
8ab1712fb6 Automod work vol 3 2020-07-27 22:19:34 +03:00
Dragory
7113d3953e Automod work vol 2 2020-07-27 21:51:03 +03:00
Dragory
c23f37d991 Automod work 2020-07-27 20:42:10 +03:00