mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-13 13:25:03 +00:00
new knub typings
Signed-off-by: GitHub <noreply@github.com>
This commit is contained in:
parent
386ca4d488
commit
166b237541
48 changed files with 114 additions and 114 deletions
|
@ -1,6 +1,6 @@
|
|||
import * as t from "io-ts";
|
||||
import { z } from "zod";
|
||||
import { BasePluginType, CooldownManager, typedGuildEventListener } from "knub";
|
||||
import { BasePluginType, CooldownManager, guildPluginEventListener } from "knub";
|
||||
import { GuildArchives } from "../../data/GuildArchives";
|
||||
import { GuildCases } from "../../data/GuildCases";
|
||||
import { GuildLogs } from "../../data/GuildLogs";
|
||||
|
@ -96,7 +96,7 @@ export interface LogsPluginType extends BasePluginType {
|
|||
};
|
||||
}
|
||||
|
||||
export const logsEvt = typedGuildEventListener<LogsPluginType>();
|
||||
export const logsEvt = guildPluginEventListener<LogsPluginType>();
|
||||
|
||||
export const LogTypeData = z.object({
|
||||
[LogType.MEMBER_WARN]: z.object({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue