3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-18 15:00:00 +00:00
Commit graph

42 commits

Author SHA1 Message Date
Dragory
28692962bc
refactor: replace io-ts with zod 2024-01-14 14:25:42 +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
9d4e9cf364
fix: broken config regex parsing 2023-04-02 03:18:55 +03:00
Dragory
b490302cd4
fix: config validation error formatting 2023-04-01 23:13:19 +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
f7fede47bd
refactor: use .env STAFF instead of global config owners for global commands 2022-08-06 22:11:54 +03:00
Dragory
15e51491d8
fix: fix error from 'config: null' in config 2022-05-12 21:46:20 +03:00
Dragory
ac79eb09f5
Reformat all files with Prettier 2021-09-11 19:06:51 +03:00
Dragory
9dea0e7d17
Allow using thread/is_thread override criteria 2021-09-05 20:58:26 +03:00
Dragory
e95987a766
Fix rare crash if isOwner() is called before the global config is loaded 2021-09-04 22:11:08 +03:00
almeidx
afe0ec1194
removed unnecessary string literal and simplified stuff 2021-07-29 10:08:55 +01:00
Dark
0822fc15e5
Type fixes for djs 2021-06-30 04:56:56 +02:00
Dark
6ac9d2f2a2
Organise all imports, make Mutes depend on Logs 2021-06-06 23:51:32 +02:00
Dark
d0c6e6f411
More fixes, waitForInteraction (replacement for waitForReaction) 2021-06-02 23:41:05 +02:00
Dark
8f7a6510eb
Pre-plugin moves 2021-05-31 21:12:24 +02:00
Dragory
52e4b5b519
Validate override criteria and extra criteria. When loading existing configs, silently remove invalid overrides. 2021-05-23 18:10:23 +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
Dragory
564aaaded0
Add allowedMentions parameter to sendSuccessMessage()/sendErrorMessage() 2021-01-17 21:24:23 +02:00
Dragory
edaeb7ef0e
Add proper types to sendErrorMessage() 2021-01-17 21:21:18 +02:00
Dragory
6896afebfa
Add proper types to sendSuccessMessage() 2021-01-17 21:05:11 +02:00
Dragory
629002b8d9
Turn on strict TS compilation. Fix up and tweak types accordingly. 2020-11-09 20:03:57 +02:00
Dragory
dda4313b26
More error information 2020-10-11 14:20:12 +03:00
Dragory
efaebe0571
Handle errors in sendSuccessMessage/sendErrorMessage gracefully 2020-10-11 14:19:39 +03:00
Dragory
2f470dc37a
Update to new Knub 30 beta. Code clean-up. 2020-10-01 01:43:38 +03:00
Dragory
4ae8cf85a3
Add time_and_date plugin. Use it for timezones and date formats around the bot. 2020-08-19 00:19:12 +03:00
Dragory
557898e484
Handle plugin load errors gracefully 2020-07-30 20:40:00 +03:00
Dragory
f6d55f1060
ZeppelinPluginBlueprint.configSchema is now required. Validate deep partial config schema before running config preprocessor. 2020-07-30 20:10:50 +03:00
Dragory
f500034729
Port BotControl 2020-07-30 03:21:07 +03:00
Dragory
ed757dcbe2
Validate basic plugin options structure and override criteria types 2020-07-30 00:29:44 +03:00
Dragory
06997b59b0
Remove debug console.logs 2020-07-29 22:08:56 +03:00
Dragory
a2d5bb51a7
Fix API config validation not taking default options into account 2020-07-28 23:28:26 +03:00
Dragory
f657b169df
Automod work 2020-07-27 20:42:10 +03:00
Miikka
a26ce611bb
Merge pull request #81 from DarkView/k30_channelArchiver
[K30] Migrated ChannelArchiver | Add isOwner to pluginUtils
2020-07-25 12:05:25 +03:00
Dragory
ebcb28261b
WIP ModActions 2020-07-23 00:37:33 +03:00
Dark
90ee4ad909 Migrate ChannelArchiver to new Plugin structure, isOwner -> pluginUtils 2020-07-22 22:33:10 +02:00
Dragory
1064a1ca46
Add custom logger. Fix a bunch of errors. Optimize imports. 2020-07-22 22:56:21 +03:00
Dragory
836fadf19e
Fix usage of 'this' in pluginUtils#canActOn 2020-07-22 22:23:47 +03:00
Dragory
c1d91b2864
Convert !clean 2020-07-06 02:56:54 +03:00
Dragory
c423b17399
Add pluginUtils.getBaseUrl() 2020-07-06 01:54:26 +03:00
Dragory
d62a4e26ae
Knub 30 conversion base work; Work on Utility plugin Knub 30 conversion 2020-07-05 05:00:54 +03:00