Lily Bergonzat
592d037148
Added Discord attachment link reaction, fixed emoji configuration and moved util functions
2024-02-16 11:51:58 +01:00
Almeida
47ad8fa4d3
only call disableInvites()
if value has changed ( #443 )
2024-01-08 11:15:57 +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
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
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
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
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
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
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
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
f9c0e661af
feat: add automod start_thread action ( #274 )
...
Co-authored-by: Almeida <almeidx@pm.me>
2021-10-31 17:27:00 +02:00
Dragory
ac79eb09f5
Reformat all files with Prettier
2021-09-11 19:06:51 +03:00
Almeida
70f2d75327
Rename use_inline_reply to inline ( #278 )
2021-09-05 17:38:03 +03:00
Almeida
b3e2e0cffb
Add archive_thread action to automod ( #271 )
2021-09-04 19:37:49 +03:00
Almeida
98f7c27dd4
Add use_inline_reply option to the Automod reply action ( #269 )
2021-09-04 19:37:02 +03:00
Dragory
0b28215208
Fix logMessage variable not working in automod alert
2021-08-20 20:31:36 +03:00
Dragory
2e49319e9c
Automod reply action embed fix
2021-08-19 19:54:02 +03:00
Dragory
8ffafe1214
You saw nothing
2021-08-18 21:08:30 +03:00
Dragory
0e7cf9715f
Thread fixes
2021-08-18 20:47:24 +03:00
Dragory
d109a58cb7
Type fixes + use template safe values for renderTemplate() everywhere
2021-08-18 20:32:45 +03:00
Dragory
59e75e0584
Type fixes + circular dependency fix
2021-08-18 20:01:06 +03:00
Dragory
bed6589d48
Typed log functions + more
2021-08-18 01:51:42 +03:00
almeidx
3537305c59
upgrade discord.js
2021-08-04 20:45:42 +01:00
Dark
c932269b7d
DJS Update, Full Import Cleanup
2021-07-25 14:32:08 +02:00
Dark
acb4913495
More fixes, change rest of stripObjectToScalars to configAccessibleObj
2021-07-21 22:14:09 +02:00
Dark
dda19de6e6
Fix various bugs, update djs
2021-07-04 23:14:12 +02:00
Dark
1ad70ffe1a
Change DiscordRESTError to DiscordAPIError
2021-06-30 23:06:02 +02:00
Dark
0822fc15e5
Type fixes for djs
2021-06-30 04:56:56 +02:00
Dark
5efdf5ce95
Formatting and initial ButtonRoles DB work
2021-06-08 02:23:30 +02:00
Dark
6ac9d2f2a2
Organise all imports, make Mutes depend on Logs
2021-06-06 23:51:32 +02:00
Dark
edcfd2333f
Bot now connects, lint fixes
2021-06-02 19:35:44 +02:00
Dark
d0a1beb809
Finish preliminary rework, ready to test
2021-06-02 04:07:50 +02:00
Dark
52839cc9f3
More rework progress, remove all eris imports
2021-06-01 02:05:55 +02:00
Dragory
ddaf3c98ee
Fix hide_case being required
2021-05-03 19:40:59 +03:00
Dragory
25a3350196
Add hide_case option to automod mod actions
2021-05-03 18:49:52 +03:00
Dragory
b541d5d087
Fix user mention not working in Automod reply action
2021-04-29 00:56:56 +03:00
Dragory
eb9cd080fd
Add allowed_mentions option to Automod alert action
2021-04-29 00:50:25 +03:00
Dragory
73f0b7e30b
Small tweaks to set_slowmode Automod action
2021-04-28 23:26:43 +03:00