3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-23 17:45:03 +00:00
Commit graph

2081 commits

Author SHA1 Message Date
Dragory
50824bec1e fix: fix most message edits not being logged 2021-10-09 12:26:09 +03:00
Dragory
95e22538c8 chore: move saved message clean-up loop with other global loops 2021-10-09 12:18:19 +03:00
Dragory
3fa65a16b6 chore: code clean-up for GuildSavedMessages 2021-10-09 12:03:29 +03:00
Dragory
ab5ad2036a perf(savedMessages): save a db lookup and message content decryption by building the returned entity manually after creation 2021-10-09 11:49:34 +03:00
Dragory
dfa5ef69f4 debug: more profiling for Automod 2021-10-05 23:54:58 +03:00
Dragory
ebd18e5374 debug: re-enable Automod with extra profiling 2021-10-05 23:49:00 +03:00
Dragory
2fa817d27a debug: enable MessageSaver, disable Automod, re-enable slow query logs 2021-10-05 23:28:16 +03:00
Dragory
939a6cbb4c debug: disable MessageSaver globally 2021-10-05 23:21:14 +03:00
Dragory
fdcdeb872d debug+++++ 2021-10-05 23:06:12 +03:00
Dragory
352816fbb7 debug++++ 2021-10-05 22:52:10 +03:00
Dragory
7b3794bd7a debug+++ 2021-10-05 22:47:33 +03:00
Dragory
b17168174b debug++ 2021-10-05 22:40:43 +03:00
Dragory
578e1fbf38 fix: revert regex batching 2021-10-05 22:10:56 +03:00
Dragory
0125c87cce debug+ 2021-10-05 21:51:29 +03:00
Dragory
4800fa2f15 fix(automod): fix empty patterns list in match_regex matching every message 2021-10-05 21:48:02 +03:00
Dragory
2e38a81d4f perf(automod): bundle automod regex patterns for potentially increased performance 2021-10-05 21:30:35 +03:00
Dragory
085918cb29 fix(automod): always break triggerLoop on match, even if allow_further_rules is enabled 2021-10-05 21:11:41 +03:00
Dragory
52b0731784 feat: add more detailed automod profiling 2021-10-05 21:09:03 +03:00
Dragory
70f1d23a7e feat: upgrade to Knub v30.0.0-beta.46, add better performance profiling tools 2021-10-05 20:49:58 +03:00
Dragory
fffbcb1f86 Limit cache size 2021-10-04 19:27:00 +03:00
Dragory
2aaa92af11 Fix permanent mutes being removed immediately as if they expired 2021-09-26 09:47:14 +03:00
Dragory
e893bd118d Re-enable automod and other plugins for Zeppelin's own messages 2021-09-26 00:34:47 +03:00
Dragory
d154a61d9f Raise slow query threshold to 500ms 2021-09-26 00:27:11 +03:00
Dragory
a6bbf79c2d Add missing register/clear for expiring tempbans in !ban 2021-09-26 00:25:03 +03:00
Dragory
ba2a3a6edb Fix missing awaits 2021-09-26 00:23:09 +03:00
Dragory
50d623ee57 Merge branch 'master' of github.com:Dragory/ZeppelinBot 2021-09-25 21:54:00 +03:00
Dragory
a573eb3b97 Centralize archive deletion loop; stagger different centralized loops slightly 2021-09-25 21:53:48 +03:00
metal
a0ab32df2e docs: document new thread overrides (#280) 2021-09-25 21:41:49 +03:00
metal
1b516b42b8 Fix Persist assigning deleted roles (#288) 2021-09-25 21:40:17 +03:00
Luke
44413155a6 Fixed mute error message double negative 2021-09-25 21:39:40 +03:00
Almeida
0b862f3d8d allow running cleancmd on news and thread channels (#293) 2021-09-25 21:37:50 +03:00
Almeida
bc0c54d8d8 perf: rolescmd with -counts option (#294) 2021-09-25 21:37:07 +03:00
Dragory
076d69b989 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
544363058e tags: validate input types for timeAdd and timeSub 2021-09-14 01:47:05 +03:00
Dragory
f1d6ee3a2c Raise slow query log threshold to 250ms 2021-09-12 22:52:31 +03:00
Dragory
7206d5e5a1 Initial work on custom guild-specific events 2021-09-12 22:41:54 +03:00
Dragory
c24830542a Temporarily disable nickname history before optimization 2021-09-12 22:41:34 +03:00
Dragory
209a9a8214 Add index on messages.is_bot 2021-09-12 22:17:22 +03:00
Dragory
0e02edd655 Raise slow query log threshold 2021-09-12 22:09:40 +03:00
Dragory
1a5fe3cb4e Potential optimization to message deletion loop 2021-09-12 22:09:29 +03:00
Dragory
f61c707e09 Add slow query logging 2021-09-12 21:47:03 +03:00
Dragory
823a02a87b Fix batched logs not being separated by newlines 2021-09-12 12:05:58 +03:00
Dragory
73d8d480b7 Tweak rate limit debug command formatting 2021-09-12 02:02:48 +03:00
Dragory
23be8db15e Add rate limit logging 2021-09-12 00:17:26 +03:00
Dragory
b4fdf5f2ab Derp 2021-09-11 21:48:12 +03:00
Dragory
e2a54502d0 Add count parameter to rest_performance 2021-09-11 21:44:01 +03:00
Dragory
81bb3cdd4d Disable case creating on manual kick
Discord has no "Kick" event. Instead, kicking a member just fires
a regular "Member Leave" event. Because of this, all manual kick
checks were being run every time a member leaves. Most importantly,
audit logs were being fetched on *every member leave*.

No.
2021-09-11 21:24:03 +03:00
Dragory
f9a4ec7e8b Add adhoc REST call debug stats 2021-09-11 21:14:47 +03:00
Dragory
e3e552d610 Add owner debug command for channel information 2021-09-11 20:11:14 +03:00
Dragory
358a4129b2 Fix error in onMessageDelete logs 2021-09-11 19:55:46 +03:00