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

37 commits

Author SHA1 Message Date
Dragory
c89c5ea430
feat: update knub; update public interfaces for new knub 2024-03-30 13:31:30 +00:00
Dragory
c2ae6d53d8
feat: update knub; use base Knub types for plugins 2024-03-30 12:35:22 +00:00
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
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
f92ee9ba4f
fix: fix errors when unloading certain plugins after beforeLoad but before afterLoad 2021-10-31 16:48:32 +02: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
14753bb4ce
Disable case creating on manual kick
Discord has no "Kick" event. Instead, kicking a member just fires
a regular "Member Leave" event. Because of this, all manual kick
checks were being run every time a member leaves. Most importantly,
audit logs were being fetched on *every member leave*.

No.
2021-09-11 21:24:03 +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
Dark
9a5e911cf2
Add typings, comment magic numbers 2021-08-15 22:14:04 +02:00
Nils
99c8dbabb7
Apply suggestions from code review
Co-authored-by: Almeida <almeidx@pm.me>
2021-08-15 22:02:18 +02:00
Dark
1c8a223264
Implement temporary permission check public functions 2021-08-15 01:44:25 +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
Dragory
c30c9f6224
Add queue for massbans 2021-05-22 13:47:10 +03:00
Almeida
fb4f70a29c
added can_unban permission for the unban command (#200) 2021-05-06 21:13:06 +03:00
Nils
903a2369c8
Allow automod to issue tempbans (#189) 2021-04-28 22:42:54 +03:00
Nils
20b1c869cd
Add -update/-up argument to automatically update latest/chosen case with !clean (#173) 2021-04-28 22:15:16 +03:00
Dragory
93912541b4
automod: add triggers for mod actions 2021-02-14 16:58:02 +02:00
Nils
f46b2e43a9
Add working massunban command (#143) 2021-01-28 01:23:35 +02:00
Nils
a7e01ae4e5
Add tempbans (#139) 2021-01-28 01:20:55 +02:00
Dragory
1484f6b9a7
mod_actions: add create_cases_for_manual_actions option
This can also be used with a user override.
The override user is the audit log entry's author, i.e. the user who
did the kick/ban/unban.
2020-12-23 04:44:46 +02: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
ddbbc543c2
Add !deletecase 2020-08-09 22:44:46 +03:00
Dark
8600cc4195 Update Massmute to newest version... again 2020-08-04 15:27:12 +02:00
Dragory
7909c99a7f
Fix up docs 2020-07-30 13:08:06 +03:00
Dragory
86023877a2
Automod actions + ModActions public interface 2020-07-28 21:34:01 +03:00
Dark
fd56664984 Migrate ModActions to new Plugin structure !!mutes dont work!! 2020-07-24 02:25:33 +02:00
Dragory
ebcb28261b
WIP ModActions 2020-07-23 00:37:33 +03:00