Commit graph

1557 commits

Author SHA1 Message Date
Dragory
2fd5bb3d17
debug: track resolveUserId username match performance 2021-10-26 22:40:31 +03:00
Dragory
23fba8cdcf
fix: check for snowflake before username match in resolveUserId 2021-10-26 22:37:26 +03:00
Dragory
9b805379cf
fix: potential crash fix 2021-10-26 13:15:04 +03:00
Dragory
9771b7e883
feat: upgrade discord.js to v13.2 2021-10-26 12:37:40 +03:00
Dragory
0a61d865ff
feat: remove monkeypatched d.js debug code 2021-10-26 12:34:18 +03:00
Dragory
76fc36108c
fix: use locks for tempbans to avoid race conditions 2021-10-25 22:54:23 +03:00
Dragory
0a3a5e4e58
debug: ++debug 2021-10-25 22:39:20 +03:00
Dragory
719884d9c0
perf: disable some performance-intensive niche/edge case features 2021-10-25 22:09:53 +03:00
Dragory
73c47bf39d
fix: temp fix, cache all members again 2021-10-17 21:02:44 +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
f00a7afab8
feat(mutes): clear old expired mutes for servers that have disabled the mutes plugin 2021-10-17 20:12:42 +03:00
Dragory
66b93dd31c
chore: clean up unnecessary cache.get ?? fetch 2021-10-17 19:56:04 +03:00
Dragory
dcc8dbb615
fix: increase member cache size to 15000 2021-10-17 19:53:26 +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
5be1e8e5b0
debug: include guild id in RecoverablePluginError logs 2021-10-17 19:19:53 +03:00
Dragory
19b7b4a5ee
fix(post): allow editing messages that aren't saved 2021-10-17 19:16:47 +03:00
Dragory
05bd84b1f9
feat: add missing migration file 2021-10-17 11:56:00 +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
1f4f27c26a
perf(messageSaver): passthrough bot messages without saving them 2021-10-17 08:13:08 +03:00
Dragory
44f5b77cc7
perf(automod): also merge regexes in match_links, match_words 2021-10-17 08:03:38 +03:00
Dragory
aea6999753
fix: fix custom emojis not being recognized in !reaction_roles 2021-10-09 15:03:09 +03:00
Dragory
2e34cc3b6d
feat: re-enable auto-leaving unknown servers 2021-10-09 14:56:31 +03:00
Dragory
ea95f3af18
fix: fix archive body encryption trying to encode/decode the archive as JSON 2021-10-09 14:51:18 +03:00
Dragory
ba4c54c41b
debug: disable slow query logging
This was always inaccurate, as the results did not match with
MariaDB's own slow query log.
2021-10-09 14:43:55 +03:00
Dragory
ac46facc46
perf: use thread pool for encryption/decryption 2021-10-09 14:43:46 +03:00
Dragory
7a35b477bc
fix: hotfix 2021-10-09 14:30:46 +03:00
Dragory
b7c7e002eb
perf: move encryption/decryption to a separate thread 2021-10-09 14:22:51 +03:00
Dragory
0b337a13a4
perf: insert + ignore errors instead of INSERT IGNORE 2021-10-09 13:05:02 +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
72d5d9d17a
chore: move saved message clean-up loop with other global loops 2021-10-09 12:18:19 +03:00
Dragory
394573318d
chore: code clean-up for GuildSavedMessages 2021-10-09 12:03:29 +03:00
Dragory
e5389c0e55
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
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
7f4195eb02
debug++++ 2021-10-05 22:52:10 +03:00
Dragory
215f560836
debug+++ 2021-10-05 22:47:33 +03:00
Dragory
570e5cc491
debug++ 2021-10-05 22:40:43 +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