Commit graph

943 commits

Author SHA1 Message Date
Almeida
6709115166
feat: add thread_create_spam automod trigger (#273) 2021-10-31 19:23:26 +02:00
metal
f9c0e661af
feat: add automod start_thread action (#274)
Co-authored-by: Almeida <almeidx@pm.me>
2021-10-31 17:27:00 +02:00
Almeida
92dfbca362
feat: add thread_create and thread_delete automod triggers (#272)
Co-authored-by: metal <admin@metalruller.com>
2021-10-31 17:21:53 +02:00
Dragory
13c94a81cc
feat: Phisherman integration 2021-10-31 17:17:31 +02:00
Dragory
f92ee9ba4f
fix: fix errors when unloading certain plugins after beforeLoad but before afterLoad 2021-10-31 16:48:32 +02:00
Dragory
bb94d77143
feat: add env var to enable profiling 2021-10-28 17:11:56 +03:00
Dragory
8f17a835f9
refactor: debounce and batch simultaneous audit log requests 2021-10-27 00:09:29 +03:00
Dragory
d7c6e34695
fix: increase massban ban event ignore time 2021-10-26 22:42:22 +03:00
Dragory
76fc36108c
fix: use locks for tempbans to avoid race conditions 2021-10-25 22:54:23 +03:00
Dragory
719884d9c0
perf: disable some performance-intensive niche/edge case features 2021-10-25 22:09:53 +03:00
Dragory
0de271994f
fix(slowmode): fix error if channel.permissionOverwrites doesn't exist 2021-10-17 21:01:55 +03:00
Dragory
d27f6f94df
fix: revert member fetching in automod due to 429s 2021-10-17 20:20:15 +03:00
Dragory
66b93dd31c
chore: clean up unnecessary cache.get ?? fetch 2021-10-17 19:56:04 +03:00
Dragory
3131878cfb
fix(automod): fetch message user/member if missing from cache 2021-10-17 19:52:56 +03:00
Dragory
ac3073d3a2
fix: whoops 2021-10-17 19:36:03 +03:00
Dragory
19b7b4a5ee
fix(post): allow editing messages that aren't saved 2021-10-17 19:16:47 +03:00
Dragory
8b486e280c
feat(tags): remove foreign key from tag_responses, use raw deletion events 2021-10-17 11:49:34 +03:00
Dragory
86b01f2991
fix(mutes): whoops 2021-10-17 11:37:59 +03:00
Dragory
9180be75b7
fix(auto_reactions): fix error if the bot member cannot be found in the server 2021-10-17 11:32:52 +03:00
Dragory
9562f9d528
debug(mutes): add guild id to recoverable plugin error 'mute role is above the bot' 2021-10-17 11:31:57 +03:00
Dragory
0f465ffa2b
fix(slowmode): fix error if the slowmode channel isn't cached 2021-10-17 11:31:32 +03:00
Dragory
151a5df4af
feat(automod): add affects_self option for rules 2021-10-17 08:15:30 +03:00
Dragory
44f5b77cc7
perf(automod): also merge regexes in match_links, match_words 2021-10-17 08:03:38 +03:00
Dragory
2e34cc3b6d
feat: re-enable auto-leaving unknown servers 2021-10-09 14:56:31 +03:00
Dragory
d874617e48
perf: merge regexes in match_regex trigger while taking backreferences into account 2021-10-09 12:50:47 +03:00
Dragory
50665c7bb7
fix: fix most message edits not being logged 2021-10-09 12:26:09 +03:00
Dragory
f582640e8e
debug: more profiling for Automod 2021-10-05 23:54:58 +03:00
Dragory
53d7491c1b
debug: re-enable Automod with extra profiling 2021-10-05 23:49:00 +03:00
Dragory
2d012bc5cf
debug: enable MessageSaver, disable Automod, re-enable slow query logs 2021-10-05 23:28:16 +03:00
Dragory
0830f67736
debug: disable MessageSaver globally 2021-10-05 23:21:14 +03:00
Dragory
9b4c00915f
debug+++++ 2021-10-05 23:06:12 +03:00
Dragory
ef53ee64c6
fix: revert regex batching 2021-10-05 22:10:56 +03:00
Dragory
04c81727fb
debug+ 2021-10-05 21:51:29 +03:00
Dragory
b951feeabd
fix(automod): fix empty patterns list in match_regex matching every message 2021-10-05 21:48:02 +03:00
Dragory
392e2da2d1
perf(automod): bundle automod regex patterns for potentially increased performance 2021-10-05 21:30:35 +03:00
Dragory
5e25792734
fix(automod): always break triggerLoop on match, even if allow_further_rules is enabled 2021-10-05 21:11:41 +03:00
Dragory
c0c73751c9
feat: add more detailed automod profiling 2021-10-05 21:09:03 +03:00
Dragory
ff8d406e8a
feat: upgrade to Knub v30.0.0-beta.46, add better performance profiling tools 2021-10-05 20:49:58 +03:00
Dragory
2e9445ce35
Re-enable automod and other plugins for Zeppelin's own messages 2021-09-26 00:34:47 +03:00
Dragory
d7810c4cd0
Add missing register/clear for expiring tempbans in !ban 2021-09-26 00:25:03 +03:00
Dragory
20edcb4c86
Fix missing awaits 2021-09-26 00:23:09 +03:00
metal
2d84a02d48
Fix Persist assigning deleted roles (#288) 2021-09-25 21:40:17 +03:00
Almeida
1e7a35eb4d
allow running cleancmd on news and thread channels (#293) 2021-09-25 21:37:50 +03:00
Almeida
2042459fd2
perf: rolescmd with -counts option (#294) 2021-09-25 21:37:07 +03:00
Dragory
c7751a9da1
Centralize periodic checks for mutes, tempbans, vcalerts, reminders, and scheduled posts
This should result in a significant performance improvement.
The new method is also more precise than the old one, allowing
the aforementioned checks to be performed with second-precision.
2021-09-25 21:34:07 +03:00
Dragory
c84d1a0be1
tags: validate input types for timeAdd and timeSub 2021-09-14 01:47:05 +03:00
Dragory
aea3f4d657
Temporarily disable nickname history before optimization 2021-09-12 22:41:34 +03:00
Dragory
f733f081e0
Fix batched logs not being separated by newlines 2021-09-12 12:05:58 +03:00
Dragory
2128b1a089
Tweak rate limit debug command formatting 2021-09-12 02:02:48 +03:00
Dragory
57ed43b018
Add rate limit logging 2021-09-12 00:17:26 +03:00