Commit graph

967 commits

Author SHA1 Message Date
almeidx
24cc532e86
fix: allow 0 deleteMessageDays and fix upper limit 2022-02-19 17:57:01 +00:00
Dragory
feeb048855
debug: add debug logging to automod clean action 2022-01-17 21:28:00 +02:00
Dragory
d5363449a0
fix: show all attachment URLs in !message, fix crash with attachments 2021-12-19 17:47:21 +02:00
Dragory
ff160be1fa
fix(automod): don't try to reply with an empty message 2021-11-27 11:52:26 +02:00
Dragory
673ec7b09a
chore: resolve eslint issues 2021-11-03 16:59:08 +02:00
Dragory
09125956a0
chore: run prettier on unformatted files 2021-11-03 16:54:21 +02:00
Dragory
1d5d8d96de
fix(phisherman): reset validApiKey on 'missing permissions' error; log getDomainInfo() errors 2021-11-03 16:53:11 +02:00
Dragory
f3dae65747
fix: fix crash in !rest_performance if there are no rest call stats 2021-11-02 23:42:21 +02:00
Dragory
121628e6b1
perf: use a memory cache for Slowmode 2021-11-02 23:38:02 +02:00
Dragory
d09d6b776a
perf: use a memory cache for AutoReactions 2021-11-02 23:25:09 +02:00
Dragory
31f18ba27f
feat: add editing support to InternalPoster 2021-11-02 23:10:37 +02:00
Dragory
c5b2812452
chore: clean up imports in postToCaseLogChannel.ts 2021-11-02 22:28:28 +02:00
Dragory
2572fa78df
fix: missing change from 901a723080 2021-11-02 22:16:40 +02:00
Dragory
901a723080
feat: remove blocked-at usage
The package never really worked with Zep, causing the
entire bot to freeze instead.
2021-11-02 22:14:44 +02:00
Dragory
8ac117a6f3
feat: use InternalPoster for Automod alerts 2021-11-02 22:12:57 +02:00
Dragory
fe63ec9d77
fix: fix error handling in InternalPoster.sendMessage direct sends 2021-11-02 21:40:24 +02:00
Dragory
4179bc4ee1
feat: move log timestamp prepending to log message format; use native timestamps by default 2021-11-02 21:27:08 +02:00
Dragory
a7d71e0762
fix: log all errors when attempting to create a webhook and gracefully return 2021-11-02 21:00:23 +02:00
Dragory
94b21287ad
fix: don't try to save partial guild information 2021-11-02 20:51:37 +02:00
Dragory
3648968439
fix: fix remove_roles_on_mute: true not working 2021-11-02 20:10:37 +02:00
Dragory
55a39e0758
feat: use webhooks for logs when possible 2021-11-02 19:59:42 +02:00
Dragory
1081d1b361
fix: fix not being able to catch Phisherman API call errors 2021-11-01 17:10:42 +02:00
Dragory
b162d8c72e
fix: add missing noop import 2021-10-31 22:16:37 +02:00
metal
446f188e16
feat: add automod thread_archive and thread_unarchive triggers (#292)
Co-authored-by: Almeida <almeidx@pm.me>
2021-10-31 22:08:29 +02:00
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