Commit graph

28 commits

Author SHA1 Message Date
Dragory
ab51231fef
Merge branch 'master' of github.com:Dragory/ZeppelinBot 2021-04-02 18:00:27 +03:00
Dragory
13294ad351
automod: allow setting antiraid level to null/off with set_antiraid_level action 2021-04-02 17:52:50 +03:00
Dragory
4147298120
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
c5d68650a3
Enforce unified lock names by using functions to generate lock keys (#165) 2021-04-02 16:43:13 +03:00
Dragory
47adfb07eb
automod: fix {logMessage} variable in alert text 2021-02-15 00:25:20 +02:00
Dragory
6bb6dfadb9
automod: use proper locks in removeRoles action 2021-02-14 17:16:00 +02:00
Nils
a13b0b6fda
Allow certain or all roles to be removed upon mute and readded on unmute (#140) 2021-02-13 20:04:40 +02:00
Dragory
c3407e2d5d
Counters v0.9
Includes automod trigger/action. No user-facing commands yet.
2021-02-13 17:29:10 +02:00
Dragory
116c33e341
Fix crash if automod alert message fails to render 2020-12-17 03:44:42 +02:00
Dragory
138bc05402
Fix automod warns, kicks, and bans not using default contact methods 2020-12-03 16:55:53 +02:00
Dragory
2d749730a6
Fix automod mutes not using default contact methods 2020-12-03 16:47:11 +02:00
Dragory
629002b8d9
Turn on strict TS compilation. Fix up and tweak types accordingly. 2020-11-09 20:03:57 +02:00
Dragory
5d579446c5
Fix several role race conditions 2020-09-30 01:08:42 +03:00
Dragory
d9140ff7a8
automod: allow alert action to send messages >2000 chars long 2020-09-15 01:57:46 +03:00
Dragory
61804d9e64
Improve error handling with mutes 2020-09-13 22:45:02 +03:00
Dragory
4c7a51f586
automod: add role_added and role_removed triggers 2020-08-10 02:22:39 +03:00
Dragory
bfa9cf55a7
automod: change_nickname action can now also take simply a string value 2020-08-10 01:37:20 +03:00
Dragory
6d4a7cdafd
More work on permission utils and eager permission checks 2020-08-07 01:21:31 +03:00
Dragory
bd09c3bdf3
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
def8e037ef
Debug++ 2020-07-30 20:15:35 +03:00
Dragory
b6b4154b2d
automod: fix logs showing duplicate users 2020-07-30 02:21:11 +03:00
Dragory
ae97a5dded
automod: add default configs for actions 2020-07-30 01:45:14 +03:00
Dragory
c39d69dd5d
automod: ensure actions only apply once per user/member 2020-07-29 22:58:14 +03:00
Dragory
3c90e5d4ab
automod: separate actions taken with comma + space instead of just comma 2020-07-29 22:43:33 +03:00
Dragory
01e43e9b46
Add new Automod actions to availableActions 2020-07-28 23:28:42 +03:00
Dragory
07da88b7cb
More Automod updates 2020-07-28 21:51:58 +03:00
Dragory
86023877a2
Automod actions + ModActions public interface 2020-07-28 21:34:01 +03:00
Dragory
f657b169df
Automod work 2020-07-27 20:42:10 +03:00