Tiago R
|
08a19eee81
|
fix automod cooldowns
Signed-off-by: GitHub <noreply@github.com>
|
2024-01-07 20:53:27 +00:00 |
|
Ben Richeson
|
8a4a2d3647
|
feat: option to trigger antiraid_level only on change (#424)
Co-authored-by: Almeida <github@almeidx.dev>
|
2023-12-29 12:52:43 +00:00 |
|
hawkeye7662
|
1cb8431a02
|
Fix loose matching for automod (#428)
Added a missing closing bracket for the regex to work.
Co-authored-by: Almeida <github@almeidx.dev>
|
2023-12-29 12:29:28 +00:00 |
|
Tiago R
|
d8c1a5791b
|
Reworked automod "set_slowmode" action (#441)
* initial
* fixes
Signed-off-by: GitHub <noreply@github.com>
---------
Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: Almeida <github@almeidx.dev>
|
2023-12-28 20:14:26 +00:00 |
|
Almeida
|
047ab872df
|
fix parsing of file extension in match_attachment_type trigger (#425)
|
2023-12-27 18:44:35 +00:00 |
|
Tiago R
|
f5d6c895aa
|
Fix counters set_value not defaulting nulls if not using per_user/per_channel (#366)
|
2023-07-01 13:58:01 +03:00 |
|
Dragory
|
63c41f0278
|
feat: new username support vol 2
|
2023-06-24 12:07:58 +00:00 |
|
Dragory
|
0e70412bc4
|
feat: new username support
|
2023-06-24 10:48:45 +00:00 |
|
Dragory
|
5f194bf1ef
|
chore: fix lint errors; tweak lint rules
|
2023-05-08 22:58:51 +03:00 |
|
Dragory
|
16fa19d3e9
|
chore: prettier
|
2023-05-08 21:33:40 +03:00 |
|
Dragory
|
fa50110766
|
feat: add member cache; handle all role changes with RoleManagerPlugin; exit gracefully
|
2023-05-07 17:57:40 +03:00 |
|
Dragory
|
9d4e9cf364
|
fix: broken config regex parsing
|
2023-04-02 03:18:55 +03:00 |
|
Tiago R
|
06877e90cc
|
Update djs & knub (#395)
* update pkgs
Signed-off-by: GitHub <noreply@github.com>
* new knub typings
Signed-off-by: GitHub <noreply@github.com>
* more pkg updates
Signed-off-by: GitHub <noreply@github.com>
* more fixes
Signed-off-by: GitHub <noreply@github.com>
* channel typings
Signed-off-by: GitHub <noreply@github.com>
* more message utils typings fixes
Signed-off-by: GitHub <noreply@github.com>
* migrate permissions
Signed-off-by: GitHub <noreply@github.com>
* fix: InternalPoster webhookables
Signed-off-by: GitHub <noreply@github.com>
* djs typings: Attachment & Util
Signed-off-by: GitHub <noreply@github.com>
* more typings
Signed-off-by: GitHub <noreply@github.com>
* fix: rename permissionNames
Signed-off-by: GitHub <noreply@github.com>
* more fixes
Signed-off-by: GitHub <noreply@github.com>
* half the number of errors
* knub commands => messageCommands
Signed-off-by: GitHub <noreply@github.com>
* configPreprocessor => configParser
Signed-off-by: GitHub <noreply@github.com>
* fix channel.messages
Signed-off-by: GitHub <noreply@github.com>
* revert automod any typing
Signed-off-by: GitHub <noreply@github.com>
* more configParser typings
Signed-off-by: GitHub <noreply@github.com>
* revert
Signed-off-by: GitHub <noreply@github.com>
* remove knub type params
Signed-off-by: GitHub <noreply@github.com>
* fix more MessageEmbed / MessageOptions
Signed-off-by: GitHub <noreply@github.com>
* dumb commit for @almeidx to see why this is stupid
Signed-off-by: GitHub <noreply@github.com>
* temp disable custom_events
Signed-off-by: GitHub <noreply@github.com>
* more minor typings fixes - 23 err left
Signed-off-by: GitHub <noreply@github.com>
* update djs dep
* +debug build method (revert this)
Signed-off-by: GitHub <noreply@github.com>
* Revert "+debug build method (revert this)"
This reverts commit a80af1e729 .
* Redo +debug build (Revert this)
Signed-off-by: GitHub <noreply@github.com>
* uniform before/after Load shorthands
Signed-off-by: GitHub <noreply@github.com>
* remove unused imports & add prettier plugin
Signed-off-by: GitHub <noreply@github.com>
* env fixes for web platform hosting
Signed-off-by: GitHub <noreply@github.com>
* feat: knub v32-next; related fixes
* fix: allow legacy keys in change_perms action
* fix: request Message Content intent
* fix: use Knub's config validation logic in API
* fix(dashboard): fix error when there are no message and/or slash commands in a plugin
* fix(automod): start_thread action thread options
* fix(CustomEvents): message command types
* chore: remove unneeded type annotation
* feat: add forum channel icon; use thread icon for news threads
* chore: make tslint happy
* chore: fix formatting
---------
Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: almeidx <almeidx@pm.me>
Co-authored-by: Dragory <2606411+Dragory@users.noreply.github.com>
|
2023-04-01 14:58:17 +03:00 |
|
Dragory
|
ccd1d3d69e
|
fix: fix error if automod unloads after beforeLoad() but without running afterLoad()
|
2022-08-15 19:07:55 +03:00 |
|
metal
|
00591510ff
|
Automod add changeperms action (#309)
* initial
* fix typings UwU
* check no perms for overrides
* cleanup & add template rendering
* remove defaults
Co-authored-by: Almeida <almeidx@pm.me>
* Update backend/src/plugins/Automod/actions/changePerms.ts
Co-authored-by: Almeida <almeidx@pm.me>
* Update backend/src/plugins/Automod/actions/changePerms.ts
Co-authored-by: Almeida <almeidx@pm.me>
* Update backend/src/plugins/Automod/actions/changePerms.ts
Co-authored-by: Almeida <almeidx@pm.me>
* .resolve instead of .fetch
Co-authored-by: Almeida <almeidx@pm.me>
* fix
* add more template variables
* rename msg to message
* .edit instead of .create
Signed-off-by: GitHub <noreply@github.com>
Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: metal <admin@metalruller.com>
Co-authored-by: Almeida <almeidx@pm.me>
|
2022-08-13 23:47:24 +03:00 |
|
Dragory
|
177a66a247
|
Merge remote-tracking branch 'origin/master' into 220601_docker_wip
|
2022-06-26 14:38:36 +03:00 |
|
Dragory
|
b48b93a6de
|
Merge branch 'master' into 220601_docker_wip
|
2022-06-26 14:35:32 +03:00 |
|
Dragory
|
3773d659cc
|
Consolidate .env files. More work on dev containers.
|
2022-06-26 14:34:54 +03:00 |
|
Almeida
|
7fb0d02adf
|
fix discord-api-types imports & usage of removed guild features (#335)
|
2022-06-26 14:09:27 +03:00 |
|
Dragory
|
b05fbe1d04
|
Update to discord.js v13.8.0, adding support for text-in-voice
|
2022-06-13 21:19:56 +03:00 |
|
Miikka
|
9fc33181eb
|
Merge pull request #323 from almeidx/ban-thing
fix: allow 0 deleteMessageDays and fix upper limit
|
2022-04-21 22:41:31 +03:00 |
|
almeidx
|
7259f6017e
|
chore: remove double parenthesis in match_attachment_type trigger
|
2022-02-20 02:05:57 +00:00 |
|
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
|
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
|
8ac117a6f3
|
feat: use InternalPoster for Automod alerts
|
2021-11-02 22:12:57 +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
|
bb94d77143
|
feat: add env var to enable profiling
|
2021-10-28 17:11:56 +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
|
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
|
d874617e48
|
perf: merge regexes in match_regex trigger while taking backreferences into account
|
2021-10-09 12:50:47 +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
|
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 |
|