Commit graph

103 commits

Author SHA1 Message Date
Dragory
ab54dc215f
fix: missing data in template safe objects 2023-04-01 21:33:40 +03:00
Dragory
c21aa7fbbf
chore: update dependencies 2023-04-01 20:31:44 +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
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
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
Dragory
b05fbe1d04
Update to discord.js v13.8.0, adding support for text-in-voice 2022-06-13 21:19:56 +03:00
Dragory
6df67da3cb
debug: catch & trace interaction reply errors 2022-06-01 18:58:54 +03:00
Dragory
ef78fbc065
fix: fix crash when custom id data is not valid JSON 2022-04-24 02:55:35 +03:00
Dragory
b64611dd01
feat: use a standard custom ID format in role buttons 2022-04-23 17:45:47 +03:00
Dragory
3fe71b3e27
feat: add internal role manager plugin; add role buttons plugin 2022-04-23 16:31:41 +03:00
almeidx
d7dc840778
rename record 2021-11-26 12:21:03 +00:00
almeidx
95365d8573
fix permissions not showing properly in roleinfo 2021-11-26 11:49:23 +00:00
Dragory
6e3a6249c7
fix: increase worker pool timeout as temp fix 2021-10-31 17:19:49 +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
44f5b77cc7
perf(automod): also merge regexes in match_links, match_words 2021-10-17 08:03:38 +03:00
Dragory
ac46facc46
perf: use thread pool for encryption/decryption 2021-10-09 14:43:46 +03:00
Dragory
b7c7e002eb
perf: move encryption/decryption to a separate thread 2021-10-09 14:22:51 +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
c7751a9da1
Centralize periodic checks for mutes, tempbans, vcalerts, reminders, and scheduled posts
This should result in a significant performance improvement.
The new method is also more precise than the old one, allowing
the aforementioned checks to be performed with second-precision.
2021-09-25 21:34:07 +03:00
Dragory
f733f081e0
Fix batched logs not being separated by newlines 2021-09-12 12:05:58 +03:00
Dragory
a26eaa480c
MessageBuffer: take embed length into account 2021-09-11 19:53:20 +03:00
Dragory
ac79eb09f5
Reformat all files with Prettier 2021-09-11 19:06:51 +03:00
Dragory
001b6d00ea
Batch embed logs. Always use log batching. 2021-09-11 18:57:06 +03:00
Dragory
82ca94e8c9
Limit which changed props are included in update logs 2021-09-05 23:46:40 +03:00
Dragory
220b28d484
Fix extra denied permissions on companion channels 2021-08-20 20:23:01 +03:00
Dragory
329cd05652
Remove hotfixMessageFetch() 2021-08-20 20:01:32 +03:00
Dragory
187e8235be
Add REST request/429 debugging, temporarily disable message fetch hotfix 2021-08-19 21:15:31 +03:00
Dragory
6a94ec9b3e
+++debug 2021-08-19 01:04:41 +03:00
Dragory
cc9aaf235e
++debug 2021-08-19 01:02:59 +03:00
Dragory
86ccae016b
+debug 2021-08-19 00:59:28 +03:00
Dragory
8da47e53e6
Ugly workaround/hotfix for message fetching 2021-08-19 00:49:06 +03:00
Dragory
3c96cad8c6
Add bail-out after too many 429 errors 2021-08-18 23:57:44 +03:00
Dragory
bc1c520521
Hotfix 9 2021-08-18 22:39:16 +03:00
Dragory
d6c4868ccf
Make sure waitForButtonConfirm() component custom IDs are unique 2021-08-18 21:01:57 +03:00
Dragory
d109a58cb7
Type fixes + use template safe values for renderTemplate() everywhere 2021-08-18 20:32:45 +03:00
Dragory
bed6589d48
Typed log functions + more 2021-08-18 01:51:42 +03:00
Dragory
9058b0fd63
Fix emoji mentions in default log messages 2021-08-17 19:23:56 +03:00
Dragory
cb8d914fef
Disallow anchors/aliases to objects when loading config YAML 2021-08-14 18:22:29 +03:00
Dragory
124bbfdc18
Tweaks to hasDiscordPermissions() 2021-08-14 16:30:40 +03:00
Dragory
adbcbe9524
Fix error in log userMention() function
The function assumed a GuildMember object where a new
IConfigAccessibleMember object was used instead.
2021-08-14 15:42:32 +03:00
almeidx
3537305c59
upgrade discord.js 2021-08-04 20:45:42 +01:00
Dark
036d46f08a
Fix log bugs 2021-07-29 19:08:22 +02:00
almeidx
5e91a9fed3
removed unnecessary collector filters 2021-07-29 17:24:53 +01:00
almeidx
71cc3176f6
Use SnowflakeUtil.deconstruct 2021-07-29 13:14:45 +01:00
almeidx
afab564628
remove camelcase permission stuff 2021-07-29 13:00:45 +01:00
almeidx
afe0ec1194
removed unnecessary string literal and simplified stuff 2021-07-29 10:08:55 +01:00