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

44 commits

Author SHA1 Message Date
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
28692962bc
refactor: replace io-ts with zod 2024-01-14 14:25:42 +00:00
Tiago R
bfc90093dc yeet renderUserUsername
Signed-off-by: GitHub <noreply@github.com>
2023-12-27 20:20:17 +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
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
121628e6b1
perf: use a memory cache for Slowmode 2021-11-02 23:38:02 +02:00
Dragory
0de271994f
fix(slowmode): fix error if channel.permissionOverwrites doesn't exist 2021-10-17 21:01:55 +03:00
Dragory
0f465ffa2b
fix(slowmode): fix error if the slowmode channel isn't cached 2021-10-17 11:31:32 +03:00
Dragory
ac79eb09f5
Reformat all files with Prettier 2021-09-11 19:06:51 +03:00
Dragory
f31ef176b4
Add more 429 debugging 2021-08-20 22:51:44 +03:00
Dragory
4878589786
Remove unnecessary message fetch in slowmode onMessageCreate 2021-08-20 22:10:18 +03:00
Dragory
329cd05652
Remove hotfixMessageFetch() 2021-08-20 20:01:32 +03:00
Dragory
8da47e53e6
Ugly workaround/hotfix for message fetching 2021-08-19 00:49: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
b5ea866e62
upgraded discord.js 2021-07-29 17:45:45 +01:00
almeidx
5de35f711d
use Util methods for escaping inline code and code blocks 2021-07-29 17:35:27 +01:00
almeidx
c98de0f554
fetch fix 2021-07-29 00:58:11 +01:00
almeidx
cfe3bff742
fetch fix 2021-07-29 00:55:03 +01:00
almeidx
de7c721c0e
simplify ternary 2021-07-29 00:52:19 +01:00
almeidx
74a676913e
user.tag 2021-07-29 00:37:19 +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
d2dd103175
Start move to configAccessibleObjects, exclude perm overrides from logs
configAccessibleObjects are used to guarantee backwards compatibility and consistency.
Perm overrides from our own plugins are ignored as to not spam logs through bot managed slowmode or companion channels
2021-07-06 05:23:47 +02:00
Dark
5e73d380c5
Update DJS 2021-07-04 17:41:44 +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
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
72637fe1b3
More initialization order fixes (vol 2) 2021-05-23 17:13:11 +03:00
Dragory
f6be4f4af6
Update to Knub30.0.0-beta.37 and Eris 0.15, first pass 2021-05-23 14:35:16 +03:00
Almeida
a4a7eb41b0
refactor(*): remove unused exception variables (#193) 2021-05-06 21:23:47 +03:00
Nils
c5d68650a3
Enforce unified lock names by using functions to generate lock keys (#165) 2021-04-02 16:43:13 +03:00
Dragory
edaeb7ef0e
Add proper types to sendErrorMessage() 2021-01-17 21:21:18 +02:00
Dragory
629002b8d9
Turn on strict TS compilation. Fix up and tweak types accordingly. 2020-11-09 20:03:57 +02:00
Dragory
2f470dc37a
Update to new Knub 30 beta. Code clean-up. 2020-10-01 01:43:38 +03:00
Dragory
bb823b6274
slowmode: fix bot slowmodes not being applied for slowmodes over 6h; add -mode option; add eager permission checks 2020-08-09 16:58:36 +03:00
Dragory
7909c99a7f
Fix up docs 2020-07-30 13:08:06 +03:00
Dark
b4b8680431 Migrate Slowmode to new Plugin structure 2020-07-23 00:25:40 +02:00