Dragory
710bedd050
chore: run prettier
2024-01-27 14:38:02 +02:00
Dragory
1518d58e25
Merge master
2024-01-27 14:35:11 +02:00
Dragory
873bf7eb99
chore: run prettier
2024-01-27 14:23:13 +02:00
Dragory
59c5176cbd
Merge remote-tracking branch 'origin/master' into iots_to_zod
2024-01-27 14:12:06 +02:00
Dragory
b0a9cf1bcd
fix: tweaks to config types
2024-01-27 12:46:48 +02:00
Dragory
e4b098b563
fix: automod types
2024-01-15 22:39:27 +00:00
Dragory
ac8926cdb8
chore: fix inconsistent import paths
2024-01-15 18:05:01 +00:00
Dragory
3db9090705
fix: circular dependency in automod types
2024-01-15 18:03:45 +00:00
Dragory
28692962bc
refactor: replace io-ts with zod
2024-01-14 14:25:42 +00:00
Almeida
47ad8fa4d3
only call disableInvites()
if value has changed ( #443 )
2024-01-08 11:15:57 +00:00
Tiago R
f58e7f5eb7
Fix automod cooldown logic ( #442 )
...
* fix automod cooldowns
Signed-off-by: GitHub <noreply@github.com>
* almeida fixes
Signed-off-by: GitHub <noreply@github.com>
* https://shr2.i0.tf/82e683c8/bd310b9c-7492-44f0-aed5-af6a22a3c196.png
Signed-off-by: GitHub <noreply@github.com>
---------
Signed-off-by: GitHub <noreply@github.com>
2024-01-07 21:12:50 +00:00
Ben Richeson
094e94f0f4
Add pause_invites
automod action ( #423 )
...
* feat(AutomodPlugin): toggle invite action
* feat: rename and change config shape
* refactor: rename disable_invites to pause_invites
* fix: make options an object, else setting an action to `false` ignores it
2024-01-05 01:41:12 +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
Tiago R
2b5a5e636a
almeida review.mp4
...
Signed-off-by: GitHub <noreply@github.com>
2023-12-27 20:20:17 +00:00
Tiago R
e0637a206f
better startThread if checks (almeida is happy)
...
Signed-off-by: GitHub <noreply@github.com>
2023-12-27 20:20:17 +00:00
Tiago R
aa1f11e801
lint
...
Signed-off-by: GitHub <noreply@github.com>
2023-12-27 20:20:17 +00:00
Tiago R
bfc90093dc
yeet renderUserUsername
...
Signed-off-by: GitHub <noreply@github.com>
2023-12-27 20:20:17 +00:00
Tiago R
4d0161a49f
oh god almeida looked at my code
...
Signed-off-by: GitHub <noreply@github.com>
2023-12-27 20:20:17 +00:00
Tiago R
10bb0b67bc
some more patches thanks to ruby
...
Signed-off-by: GitHub <noreply@github.com>
2023-12-27 20:20:17 +00:00
Tiago R
ba4a2b45b8
remove useless feature check
...
Signed-off-by: GitHub <noreply@github.com>
2023-12-27 20:20:17 +00:00
Tiago R
4c788bc321
some transforms
...
Signed-off-by: GitHub <noreply@github.com>
2023-12-27 20:20:17 +00:00
Tiago R
43076b3db6
update djs
...
Signed-off-by: GitHub <noreply@github.com>
2023-12-27 20:20:17 +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