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 |
|
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 |
|