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

43 commits

Author SHA1 Message Date
Dragory
873bf7eb99
chore: run prettier 2024-01-27 14:23:13 +02:00
Dragory
5a5be89573
fix: counter types 2024-01-15 22:38:48 +00:00
Dragory
28692962bc
refactor: replace io-ts with zod 2024-01-14 14:25:42 +00:00
Tiago R
f5d6c895aa
Fix counters set_value not defaulting nulls if not using per_user/per_channel (#366) 2023-07-01 13:58:01 +03: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
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
801cd2630b
fix: fix crash when decay period is 0 2022-12-15 00:38:24 +02: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
f92ee9ba4f
fix: fix errors when unloading certain plugins after beforeLoad but before afterLoad 2021-10-31 16:48:32 +02:00
Dragory
ac79eb09f5
Reformat all files with Prettier 2021-09-11 19:06:51 +03: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
7124898568
Remove erroneous lock
Lock was acquired here and in the actual method, causing the actual method to wait 10 minutes for the timeout
2021-06-03 02:34:06 +02:00
Dark
d0c6e6f411
More fixes, waitForInteraction (replacement for waitForReaction) 2021-06-02 23:41:05 +02:00
Dark
d0a1beb809
Finish preliminary rework, ready to test 2021-06-02 04:07:50 +02:00
Dark
57893e7f76
More rework progress, mostly done up to ModActions 2021-06-01 04:33:02 +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
b60a4ce8fc
Use longer lock timeout in !counters reset_all 2021-05-03 20:52:42 +03:00
Dragory
578542e54e
Show loading message for !counters reset_all 2021-05-03 20:51:16 +03:00
Dragory
3072f29044
Fix alias precedence for !counters list 2021-05-03 20:47:03 +03:00
Dragory
724abc89b9
Tweak counter reset logic (v2) 2021-05-03 20:45:33 +03:00
Dragory
647c2eb85a
Fix !counters reset_all not also removing triggers 2021-05-03 20:41:39 +03:00
Dragory
9bae5eaea7
Fix error when adding counter without triggers 2021-05-03 19:33:59 +03:00
Dragory
a568e86d78
Add commands to list and reset counters 2021-05-03 19:33:30 +03:00
Dragory
31d7748bf4
Fix changeCounterValue() not considering initial value
If a counter was initialized via the INSERT in changeCounterValue(),
its value would be set to the change value rather than the specified
initial value. For example, a counter with an initial value of 1000
and a change of 5 would get initialized to 5, not 1005.
2021-05-03 18:37:09 +03:00
Usoka
6b9131c353
Fix 0 not being accepted in SetCounterCmd (#186) 2021-04-28 22:03:26 +03:00
Almeida
4448659dc0
fix(SetCounterCmd): misleading messages (#188) 2021-04-28 21:59:56 +03:00
Dragory
ad8aab3937
Fix error when using an unknown counter from Automod 2021-04-11 13:44:48 +03:00
Dragory
ab51231fef
Merge branch 'master' of github.com:Dragory/ZeppelinBot 2021-04-02 18:00:27 +03:00
Dragory
4147298120
Add counter documentation/examples. Tweak counter triggers/actions in automod.
Rename change_counter automod action to add_to_counter,
add set_counter action, rename counter trigger to counter_trigger.
2021-04-02 17:44:43 +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
ab8ea2e7e5
counters: move triggers to counters plugin; architectural tweaks 2021-04-02 16:36:45 +03:00
Dragory
93912541b4
automod: add triggers for mod actions 2021-02-14 16:58:02 +02:00
Dragory
0f14f75020
counters: add '!counters add' and '!counters set' commands 2021-02-13 22:43:47 +02:00
Dragory
a18b093419
counters: fix user parsing for !counter view, fix other signature parsing weirdnesses 2021-02-13 22:43:13 +02:00
Dragory
91fde47c97
counters: add !counter view command 2021-02-13 22:08:38 +02:00
Dragory
352a8066e5
counters: apply decays every 5min 2021-02-13 17:44:24 +02:00
Dragory
c3407e2d5d
Counters v0.9
Includes automod trigger/action. No user-facing commands yet.
2021-02-13 17:29:10 +02:00