Commit graph

1557 commits

Author SHA1 Message Date
Dragory
dd1afc4dab
fix: don't attempt to message users off-server
Co-authored-by: metal0 <metal@i0.tf>
2023-04-01 21:45:12 +03:00
Dragory
dd2eebd4a5
fix: occasional crash in context menus
Co-authored-by: metal <metal@i0.tf>
2023-04-01 21:40:27 +03:00
Dragory
3064a05b4d
fix: extra checks for tag get() function 2023-04-01 21:34:14 +03:00
Dragory
ab54dc215f
fix: missing data in template safe objects 2023-04-01 21:33:40 +03:00
Dragory
d4292205b9
fix: remove deprecated success_emoji/error_emoji properties 2023-04-01 20:39:13 +03:00
Dragory
c21aa7fbbf
chore: update dependencies 2023-04-01 20:31:44 +03:00
Dragory
a6750da5da
fix: reapply timeout on join for forcemutes 2023-04-01 20:19:17 +03:00
Dragory
017ef5674a
fix: isCommunicationDisabled() 2023-04-01 20:15:03 +03:00
Dragory
600ff6e4a4
docs: timestamp of the 2023-04-01 20:11:40 +03:00
Dragory
0ee5f0a863
fix: additional checks for unmuting without an active mute 2023-04-01 20:09:09 +03:00
Dragory
39e0dfa27f feat: timeout support 2023-04-01 20:05:11 +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 a80af1e729b742d1aad1097df538d224fbd32ce7.

* 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
rubyowo
9386696f4b
fix: crash when the arr argument for concatArr isn't specified
fix: formatting

Co-authored-by: Almeida <almeidx@pm.me>
2023-03-31 19:28:09 +04:00
Dragory
293115af22
fix: crash on older discord.js version 2023-03-30 00:19:32 +03:00
Dragory
801cd2630b
fix: fix crash when decay period is 0 2022-12-15 00:38:24 +02:00
Dragory
ccd1d3d69e
fix: fix error if automod unloads after beforeLoad() but without running afterLoad() 2022-08-15 19:07:55 +03:00
Miikka
128700929e
Merge pull request #345 from almeidx/cases-user
fix: no response if user only has hidden cases in `!cases @user`
2022-08-14 00:22:42 +03:00
Dragory
a15b2f02a9
feat: small tweaks to tag list search 2022-08-14 00:21:21 +03:00
Miikka
e9fe0e03b9
Merge pull request #348 from DenverCoderOne/tag-list-search
feat: Tag list search and improved readability
2022-08-14 00:12:43 +03:00
Dragory
94802a665c
fix: fix expired api permissions not being deleted 2022-08-14 00:06:20 +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
Miikka
fdb81e37ed
Merge pull request #339 from metal0/fix-codeblocks-case-history
Fix codeblocks case history quote markdown
2022-08-13 23:31:21 +03:00
Dragory
d472fd4fa6
fix(logs): fix inconsistent thread/channel/category exclusions; add excluded_threads log channel option 2022-08-13 23:19:06 +03:00
Dragory
218c31231e
Merge branch '220601_docker_wip' 2022-08-07 14:02:44 +03:00
Dragory
9bd1b97a11
fix: ignore empty values for STAFF/DEFAULT_ALLOWED_SERVERS 2022-08-07 12:45:52 +03:00
Dragory
f0a96de371
debug: temporarily disable server auto-leaving
This is to avoid any potential funny business during the upcoming server migration.
2022-08-06 22:13:12 +03:00
Dragory
4a5e8ded75
feat: add DEFAULT_ALLOWED_SERVERS .env value 2022-08-06 22:12:40 +03:00
Dragory
f7fede47bd
refactor: use .env STAFF instead of global config owners for global commands 2022-08-06 22:11:54 +03:00
Dragory
91f54424ed
Early work on prod container 2022-07-16 22:16:34 +03:00
Miikka
3cf08e5a49 Update discord.js 2022-07-06 22:21:26 +00:00
Miikka
0e6c2619f0
Update applyRoleButtons.ts 2022-07-07 01:07:17 +03:00
Miikka
8574d61670
debug 2022-07-07 01:00:32 +03:00
Miikka
f5125cb3c3
Update applyRoleButtons.ts 2022-07-07 00:49:29 +03:00
Dragory
ce2255b6b7
Simplify dev docker setup 2022-06-26 19:30:46 +03:00
Dragory
f463abb3e2
Temporarily disable config clean-up
The current query doesn't work in MySQL 8.
2022-06-26 15:23:22 +03:00
Dragory
6b44027eb4
Fix error when compiling ormconfig 2022-06-26 15:02:34 +03:00
Dragory
12274a84b2
Fix .env number validation errors 2022-06-26 14:41:31 +03:00
Dragory
177a66a247
Merge remote-tracking branch 'origin/master' into 220601_docker_wip 2022-06-26 14:38:36 +03:00
Dragory
acbeddf11c
Fix old/broken env import 2022-06-26 14:37:37 +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
Miikka
961a8c7fff
Merge pull request #337 from almeidx/userinfo-roles
fix: negative number in userinfo command
2022-06-26 14:10:05 +03:00
Almeida
7fb0d02adf
fix discord-api-types imports & usage of removed guild features (#335) 2022-06-26 14:09:27 +03:00
Jonah Lawrence
5c0d607af3
feat: Tag list search and improved readability 2022-06-21 21:43:59 -06:00
Dark
d60c29e5a3
Fix "Server voice muted" being true even if self-muted, misleading mods
Instead split the options into all four, from mute and deaf to selfMute, selfDeaf, serverMute and serverDeaf.
This should provide a lot more clarity.
2022-06-15 13:40:40 +02:00
almeidx
662d9cda26
fix: no response if user only has hidden cases in !cases @user 2022-06-14 18:23:36 +01:00
Dragory
d60d2bc568
fix: fix crash when unloading reminders plugin without running afterLoad() 2022-06-14 01:31:45 +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
Dragory
ba78103807
fix: fix the fix 2022-06-01 19:49:14 +03:00
Dragory
058643f360
fix: fix crash in AutoReactions if a message is posted in an uncached thread 2022-06-01 19:38:56 +03:00