3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-10 12:25:02 +00:00
Commit graph

89 commits

Author SHA1 Message Date
Dragory
1518d58e25
Merge master 2024-01-27 14:35:11 +02:00
Dragory
59c5176cbd
Merge remote-tracking branch 'origin/master' into iots_to_zod 2024-01-27 14:12:06 +02:00
Dragory
28692962bc
refactor: replace io-ts with zod 2024-01-14 14:25:42 +00:00
Tiago R
3217f35017
implement MEMBER_MUTE_EXPIRED (#437)
Signed-off-by: GitHub <noreply@github.com>
2023-12-29 14:30:40 +00:00
Tiago R
8860d4fb22
Timeouts: better validations (#438)
* better timeout validations

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

* almeida reviews

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

* better error handling

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

* add missing catch noops

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

---------

Signed-off-by: GitHub <noreply@github.com>
2023-12-28 14:41:32 +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
bfc90093dc yeet renderUserUsername
Signed-off-by: GitHub <noreply@github.com>
2023-12-27 20:20:17 +00:00
Tiago R
d162418be5
Add missing dependency to mutes plugin & fix timeout expiry (#430)
* +debug

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

* Revert "+debug"

This reverts commit 83daee09d9.

* add missing dependency to mutes

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

* lower max timeout duration

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

---------

Signed-off-by: GitHub <noreply@github.com>
2023-12-27 18:38:26 +00:00
Dragory
761ff27771
feat: upgrade to TypeORM 0.3 2023-07-01 12:17:45 +00: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
Dragory
434c1543ff
fix: permission check before renewing timeouts 2023-04-06 08:31:15 +03:00
Dragory
0e58301dc8
fix: timeout mutes always being applied for 28d
They were still being removed by the bot after the real mute time,
but the native timeout was always set to 28d.
2023-04-01 23:04:30 +03:00
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
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 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
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
3648968439
fix: fix remove_roles_on_mute: true not working 2021-11-02 20:10:37 +02:00
Dragory
f92ee9ba4f
fix: fix errors when unloading certain plugins after beforeLoad but before afterLoad 2021-10-31 16:48:32 +02:00
Dragory
719884d9c0
perf: disable some performance-intensive niche/edge case features 2021-10-25 22:09:53 +03:00
Dragory
86b01f2991
fix(mutes): whoops 2021-10-17 11:37:59 +03:00
Dragory
9562f9d528
debug(mutes): add guild id to recoverable plugin error 'mute role is above the bot' 2021-10-17 11:31:57 +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
Dragory
2451719155
Tweaks to member role restoration on unmute 2021-08-20 22:34:31 +03:00
Dragory
be0f9182a0
Always fetch fresh member data when unmuting v2: electric boogaloo 2021-08-20 22:27:35 +03:00
Dragory
3a9caae758
Always fetch fresh member data when unmuting 2021-08-20 22:26:40 +03:00
Dragory
41f8e190dd
Remove server-specific timed unmute logging 2021-08-20 21:40:59 +03:00
Dragory
d54f03361a
Remove first check delay for expired mute checking 2021-08-19 22:12:39 +03:00
Dragory
f6feb75e29
+debug 2021-08-19 19:49:44 +03:00
Dragory
31b9043b82
Fix user mention in unmute logs 2021-08-19 19:42:50 +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
e3b6b017a2
Fix issues with circular dependencies between plugins 2021-08-18 19:33:22 +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
almeidx
5e91a9fed3
removed unnecessary collector filters 2021-07-29 17:24:53 +01:00
almeidx
afe0ec1194
removed unnecessary string literal and simplified stuff 2021-07-29 10:08:55 +01:00
almeidx
74a676913e
user.tag 2021-07-29 00:37:19 +01:00
almeidx
3d29963b87
perf 2021-07-29 00:03:25 +01:00
almeidx
9ddfc48bb2
simplify 2021-07-28 23:57:33 +01:00
almeidx
d9d1793e59
removed unnecessary type annotation 2021-07-28 23:54:34 +01:00
Dark
c932269b7d
DJS Update, Full Import Cleanup 2021-07-25 14:32:08 +02:00