Commit graph

127 commits

Author SHA1 Message Date
09a573a2d3
the funny 2024-11-02 14:55:29 +02:00
Dragory
2ce5082018
fix: shorter than 6 character invite codes
Fixes ZDEV-108
2024-01-27 15:05:40 +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
77ab2718e7
chore: resolve lint errors 2024-01-27 14:21:32 +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
28692962bc
refactor: replace io-ts with zod 2024-01-14 14:25:42 +00:00
Tiago R
7c946949d6
automod match_link fixes (#432)
* remove trailing dot from FQDN for TLD check

Signed-off-by: GitHub <noreply@github.com>

* yeet all trailing characters from TLDs

Signed-off-by: GitHub <noreply@github.com>

* oops

Signed-off-by: GitHub <noreply@github.com>

* move dumb loop to regex replace

Signed-off-by: GitHub <noreply@github.com>

---------

Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: Almeida <github@almeidx.dev>
2023-12-29 11:43:36 +00:00
Tiago R
2e0598194f fix renderUsername overloads
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
10bb0b67bc some more patches thanks to ruby
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
f1791fac44 redo username check, yeet discrims entirely
Signed-off-by: GitHub <noreply@github.com>
2023-12-27 20:20:17 +00:00
Tiago R
c4a2be5ff5 resolveUserId support new usernames
Signed-off-by: GitHub <noreply@github.com>
2023-12-27 20:20:17 +00:00
Dragory
9cc88cfcb8
feat: use emoji icons from Hangar 2023-07-01 13:22:04 +00: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
fa50110766
feat: add member cache; handle all role changes with RoleManagerPlugin; exit gracefully 2023-05-07 17:57:40 +03:00
Dragory
3064a05b4d
fix: extra checks for tag get() function 2023-04-01 21:34:14 +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
b05fbe1d04
Update to discord.js v13.8.0, adding support for text-in-voice 2022-06-13 21:19:56 +03:00
Dragory
3fe71b3e27
feat: add internal role manager plugin; add role buttons plugin 2022-04-23 16:31:41 +03:00
almeidx
49df2609d8
fix: embed validation 2022-02-17 14:47:53 +00:00
Dragory
8f17a835f9
refactor: debounce and batch simultaneous audit log requests 2021-10-27 00:09:29 +03:00
Dragory
2fd5bb3d17
debug: track resolveUserId username match performance 2021-10-26 22:40:31 +03:00
Dragory
23fba8cdcf
fix: check for snowflake before username match in resolveUserId 2021-10-26 22:37:26 +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
ac79eb09f5
Reformat all files with Prettier 2021-09-11 19:06:51 +03:00
metal
60515ad788
Update invite detection regex (#259) 2021-09-04 19:36:15 +03:00
Dragory
ddfdcdccd3
Don't crash on ZodError from validateAndParseMessageContent() 2021-08-20 22:38:53 +03:00
Dark
84ff17fd9b
Fix "invalid role id" in addrole command 2021-08-19 19:08:46 +02:00
Dragory
5852adadad
Hotfix 20 2021-08-19 19:59:25 +03:00
Dragory
2e49319e9c
Automod reply action embed fix 2021-08-19 19:54:02 +03:00
Dragory
81514276e9
Fix issues around embeds 2021-08-19 19:33:47 +03:00
Dragory
30f184897f
Re-enable audit log checks 2021-08-18 23:21:00 +03:00
Dragory
9713e2c99b
Code clean-up 2021-08-18 23:03:19 +03:00
Dragory
1df2e18fef
Hotfix 3 2021-08-18 22:15:56 +03:00
Dragory
0e7cf9715f
Thread fixes 2021-08-18 20:47:24 +03:00
Dragory
bed6589d48
Typed log functions + more 2021-08-18 01:51:42 +03:00
Dragory
fa18c234d6
Fixes to Invite types/type guard functions 2021-08-14 14:41:34 +03:00
almeidx
3537305c59
upgrade discord.js 2021-08-04 20:45:42 +01:00
almeidx
5de35f711d
use Util methods for escaping inline code and code blocks 2021-07-29 17:35:27 +01:00
almeidx
5fad488a63
changes to serverinfo and fixes in utils 2021-07-29 17:18:49 +01:00
Nils
392e7fc56e
Merge pull request #3 from almeidx/smol-refactor
Smol refactor
2021-07-29 03:03:38 +02:00
almeidx
74a676913e
user.tag 2021-07-29 00:37:19 +01:00
Dark
3886d2d1dd
Include Sticker and Emoji events in Logs 2021-07-29 01:02:29 +02: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