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

2327 commits

Author SHA1 Message Date
Dragory
514e93aa23 feat(persist): reapply persisted data after delay
This enables better interoperability with other bots that apply roles
on join. This is because bots that apply roles on join often run into
a race condition where they're both setting the member's roles at the
same time without knowing about the other, which results in one bot's
roles overriding the other one's. Reapplying Zeppelin's roles after a
delay should ensure that persisted roles get applied properly even in
these cases.
2023-06-24 09:53:06 +00:00
Dragory
1e5378a274 fix: update dashboard packages, fix build on Node.js 18 2023-06-24 09:21:06 +00:00
Dragory
fd4097cefc fix: add missing permissions to permissionNames.ts 2023-06-24 08:29:19 +00:00
Dragory
392d6a427d chore: update dependencies; recreate package locks 2023-06-24 08:28:24 +00:00
Dragory
5f194bf1ef
chore: fix lint errors; tweak lint rules 2023-05-08 22:58:51 +03:00
Dragory
9b3d6f5d68
chore: switch from tslint to eslint 2023-05-08 21:53:09 +03:00
Dragory
16fa19d3e9
chore: prettier 2023-05-08 21:33:40 +03:00
Dragory
111295361e
fix: only lint/format src; update base packages; use Node 18 in gh workflow 2023-05-08 21:32:33 +03:00
Dragory
baee6d2d45
feat: fixes to GuildMemberCache events 2023-05-08 21:23:19 +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
fd60a09947
feat: update to TypeScript 5; reorganize deps 2023-04-29 21:07:18 +03:00
Dragory
658300fcac
feat: update to Node.js 18 2023-04-29 20:47:20 +03:00
Dragory
fefa5649b7
chore: update to Knub v32.0.0-next.15 2023-04-29 20:41:47 +03:00
Dragory
025e67d6b6
feat: -r for !edit_embed 2023-04-09 01:06:49 +03:00
Dragory
434c1543ff
fix: permission check before renewing timeouts 2023-04-06 08:31:15 +03:00
Dragory
3e2862306d
debug: +1 2023-04-04 21:02:56 +03:00
Dragory
fd654a8623
debug: send bot/api clinic dumps to different folders 2023-04-04 21:00:36 +03:00
Dragory
f423f4bdcb
fix: type issue 2023-04-04 20:56:21 +03:00
Dragory
ae1c0c2278
debug: debug+ 2023-04-04 20:55:01 +03:00
Dragory
acdde9b3d7
debug: add clinic.js for debugging 2023-04-04 20:44:13 +03:00
Dragory
fcf30fbc00
chore: update Knub to v32.0.0-next.10 2023-04-02 23:57:02 +03:00
Dragory
1ff476581d
chore: update Knub 2023-04-02 23:02:38 +03:00
Dragory
23e42c9217
chore: update to Knub v32.0.0-next.8 and discord.js v14.9.0 2023-04-02 03:23:12 +03:00
Dragory
9d4e9cf364
fix: broken config regex parsing 2023-04-02 03:18:55 +03:00
Dragory
d231c72a5b
chore: update to Knub v32.0.0-next.7 2023-04-02 03:17:00 +03:00
Dragory
c3e07c1607
fix: error on dashboard plugin usage page 2023-04-02 00:02:22 +03:00
Dragory
e43500abba
fix: additional checks for findTagByName 2023-04-01 23:51:29 +03:00
Dragory
b490302cd4
fix: config validation error formatting 2023-04-01 23:13:19 +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
c136c117d2
fix: log PluginLoadError guild id correctly 2023-04-01 22:57:30 +03:00
Dragory
bd6c73891d
fix: api crash with certain config errors 2023-04-01 22:56:42 +03:00
Dragory
ef36ea6999
fix: additional checks for tag set/get 2023-04-01 22:13:48 +03:00
Dragory
c1a91d4dec
fix: check for too many permission overwrites in companion channels 2023-04-01 21:53:12 +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
dd2eebd4a5
fix: occasional crash in context menus
Co-authored-by: metal <metal@i0.tf>
2023-04-01 21:40:27 +03:00
Dragory
3064a05b4d
fix: extra checks for tag get() function 2023-04-01 21:34:14 +03:00
Dragory
ab54dc215f
fix: missing data in template safe objects 2023-04-01 21:33:40 +03:00
Dragory
d4292205b9
fix: remove deprecated success_emoji/error_emoji properties 2023-04-01 20:39:13 +03:00
Dragory
c21aa7fbbf
chore: update dependencies 2023-04-01 20:31:44 +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
7c8573c6d5
chore: to appease our robot overlords 2023-04-01 20:12:26 +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
293115af22
fix: crash on older discord.js version 2023-03-30 00:19:32 +03:00
Dragory
801cd2630b
fix: fix crash when decay period is 0 2022-12-15 00:38:24 +02:00
Dragory
ccd1d3d69e
fix: fix error if automod unloads after beforeLoad() but without running afterLoad() 2022-08-15 19:07:55 +03:00
Miikka
128700929e
Merge pull request #345 from almeidx/cases-user
fix: no response if user only has hidden cases in `!cases @user`
2022-08-14 00:22:42 +03:00