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

125 commits

Author SHA1 Message Date
Dragory
9e1586e90e Fix hide_case being required 2021-05-03 19:40:59 +03:00
Dragory
b0fd29f098 Add hide_case option to automod mod actions 2021-05-03 18:49:52 +03:00
Dragory
1c8ba55e45 Add member to the Automod context for mod action triggers 2021-04-29 02:29:23 +03:00
Dragory
c6237b200c Remove leftover console.log() 2021-04-29 02:15:06 +03:00
Dragory
34f408833d Fix user mention not working in Automod reply action 2021-04-29 00:56:56 +03:00
Dragory
45795a1c5f Add allowed_mentions option to Automod alert action 2021-04-29 00:50:25 +03:00
Dragory
0a0646174c Small tweaks to set_slowmode Automod action 2021-04-28 23:26:43 +03:00
Nils
0715a5c927 Add automod action for setting slowmode (#167) 2021-04-28 23:18:23 +03:00
Nils
c2c3470994 Allow automod to issue tempbans (#189) 2021-04-28 22:42:54 +03:00
Dragory
cab20fa295 Merge branch 'master' of github.com:Dragory/ZeppelinBot 2021-04-28 22:40:02 +03:00
Dragory
826bcfdd50 Add postInCaseLog option for mod action Automod actions; allow forcing case log even when log_automatic_actions is disabled 2021-04-28 22:39:49 +03:00
Nils
abc9da0e68 Allow Automod to distinguish whether mod actions are manual or automatic (#179) 2021-04-28 22:06:33 +03:00
Shoaib Sajid
25ff030dac Fix typo in automod docs (#185) 2021-04-28 22:02:25 +03:00
Dragory
984dd64214 Add permission checks and alerts to Automod 'reply' action 2021-04-11 14:13:25 +03:00
Dragory
5b88ad5865 Fix error when using an unknown counter from Automod 2021-04-11 13:44:48 +03:00
Dragory
087c266e4d Handle errors when sending message in automod 'alert' action 2021-04-04 22:30:21 +03:00
Dragory
92b960216d Improve antiraid trigger automod logs 2021-04-02 19:50:37 +03:00
Dragory
7088b883e2 Fix antiraid_level automod trigger not being available 2021-04-02 19:47:30 +03:00
Dragory
e29d5d0974 Fix log_automatic_actions option not working for automod actions 2021-04-02 19:36:40 +03:00
Dragory
6ac43edda4 Merge branch 'master' of github.com:Dragory/ZeppelinBot 2021-04-02 18:00:27 +03:00
Dragory
145451e7c0 automod: if a rule is on cooldown, allow rules after it to trigger 2021-04-02 18:00:11 +03:00
Dragory
6273b5f534 automod: fix cooldowns applying across rules 2021-04-02 17:59:41 +03:00
Dragory
76e727a43e automod: add any_message trigger 2021-04-02 17:57:04 +03:00
Dragory
3f77e598ac automod: add antiraid_level trigger 2021-04-02 17:53:16 +03:00
Dragory
aa906e4a2b automod: allow setting antiraid level to null/off with set_antiraid_level action 2021-04-02 17:52:50 +03:00
Dragory
1703f7b440 Add counter documentation/examples. Tweak counter triggers/actions in automod.
Rename change_counter automod action to add_to_counter,
add set_counter action, rename counter trigger to counter_trigger.
2021-04-02 17:44:43 +03:00
Nils
eb7ac72cd4 Enforce unified lock names by using functions to generate lock keys (#165) 2021-04-02 16:43:13 +03:00
Dragory
f8d393fad2 counters: move triggers to counters plugin; architectural tweaks 2021-04-02 16:36:45 +03:00
Dragory
76c3ccdb9a automod: fix {logMessage} variable in alert text 2021-02-15 00:25:20 +02:00
Dragory
7400af57c6 automod: use proper locks in removeRoles action 2021-02-14 17:16:00 +02:00
Dragory
30426960e7 automod: add triggers for mod actions 2021-02-14 16:58:02 +02:00
Dragory
2a3145e97b automod: add user/member to automod context for counters trigger 2021-02-13 21:34:47 +02:00
Nils
d9282643d8 Allow certain or all roles to be removed upon mute and readded on unmute (#140) 2021-02-13 20:04:40 +02:00
Dragory
c5c78c0e66 Remove debug console.log()s 2021-02-13 17:42:41 +02:00
Dragory
c78b2b7d8e Counters v0.9
Includes automod trigger/action. No user-facing commands yet.
2021-02-13 17:29:10 +02:00
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