Dragory
|
186ac65924
|
Handle errors when sending message in automod 'alert' action
|
2021-04-04 22:30:21 +03:00 |
|
Dragory
|
2e5224124f
|
Improve antiraid trigger automod logs
|
2021-04-02 19:50:37 +03:00 |
|
Dragory
|
3afc95c858
|
Fix antiraid_level automod trigger not being available
|
2021-04-02 19:47:30 +03:00 |
|
Dragory
|
cc795c9742
|
Fix log_automatic_actions option not working for automod actions
|
2021-04-02 19:36:40 +03:00 |
|
Dragory
|
ab51231fef
|
Merge branch 'master' of github.com:Dragory/ZeppelinBot
|
2021-04-02 18:00:27 +03:00 |
|
Dragory
|
acfbb19b3f
|
automod: if a rule is on cooldown, allow rules after it to trigger
|
2021-04-02 18:00:11 +03:00 |
|
Dragory
|
4f66f004d5
|
automod: fix cooldowns applying across rules
|
2021-04-02 17:59:41 +03:00 |
|
Dragory
|
9ac4e15573
|
automod: add any_message trigger
|
2021-04-02 17:57:04 +03:00 |
|
Dragory
|
b28186aa0a
|
automod: add antiraid_level trigger
|
2021-04-02 17:53:16 +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
|
ab8ea2e7e5
|
counters: move triggers to counters plugin; architectural tweaks
|
2021-04-02 16:36:45 +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 |
|
Dragory
|
93912541b4
|
automod: add triggers for mod actions
|
2021-02-14 16:58:02 +02:00 |
|
Dragory
|
78ff2641d4
|
automod: add user/member to automod context for counters trigger
|
2021-02-13 21:34:47 +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
|
39448a4213
|
Remove debug console.log()s
|
2021-02-13 17:42:41 +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
|
bc5455bf9f
|
Fix accidental early return in match_invites automod trigger
|
2020-11-09 20:43:46 +02:00 |
|
Dragory
|
f3609aa8ab
|
Fix config parsing issues caused by RoleAddedTrigger/RoleRemovedTrigger default config
|
2020-11-09 20:12:54 +02:00 |
|
Dragory
|
629002b8d9
|
Turn on strict TS compilation. Fix up and tweak types accordingly.
|
2020-11-09 20:03:57 +02:00 |
|
Dragory
|
3aada93a80
|
Add sticker_spam automod trigger
|
2020-10-16 02:01:07 +03:00 |
|
Dragory
|
2f470dc37a
|
Update to new Knub 30 beta. Code clean-up.
|
2020-10-01 01:43:38 +03:00 |
|
Dragory
|
5d579446c5
|
Fix several role race conditions
|
2020-09-30 01:08:42 +03:00 |
|
Dragory
|
205f7721ea
|
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
|
025f2bec7f
|
Add missing triggers to automod AvailableTriggers type
|
2020-09-15 02:12:17 +03:00 |
|
Dragory
|
46400166ea
|
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
|
d9140ff7a8
|
automod: allow alert action to send messages >2000 chars long
|
2020-09-15 01:57:46 +03:00 |
|
Dragory
|
47319e2177
|
automod: disable match_embeds by default
|
2020-09-15 01:07:59 +03:00 |
|
Dragory
|
cb5723db7c
|
automod: add strip_markdown option to match_words trigger
|
2020-09-15 01:07:28 +03:00 |
|
Dragory
|
a5c40a58bf
|
automod: make match_attachment_type case-insensitive
|
2020-09-15 01:02:28 +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
|
ebdeabdc32
|
automod: fix error when matching an unknown invite
|
2020-08-05 18:07:09 +03:00 |
|
Dragory
|
925cf718e7
|
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
|
a7fa258f2a
|
Run user-supplied regexes in worker threads with a timeout
|
2020-08-05 01:15:36 +03:00 |
|
Dragory
|
2e9e47ac83
|
Fix up some automod context objects/types
|
2020-08-02 16:11:42 +03:00 |
|
Dragory
|
6caf7b1304
|
automod: fix spam filters counting edits multiple times
|
2020-08-02 03:23:12 +03:00 |
|
Dragory
|
e46d8e15da
|
automod: fix member_join trigger only_new matching
|
2020-07-30 22:49:34 +03:00 |
|
Dragory
|
80fb9d7b6b
|
automod: tweaks/fixes to spam detection
|
2020-07-30 22:47:33 +03:00 |
|
Dragory
|
4931c95872
|
automod: fix memberJoinSpam trigger returning duplicate contexts
|
2020-07-30 22:23:44 +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 |
|