mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-12 12:55:02 +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,5 +1,5 @@
|
|||
import * as t from "io-ts";
|
||||
import { BasePluginType, typedGuildEventListener } from "knub";
|
||||
import { BasePluginType, guildPluginEventListener } from "knub";
|
||||
import { GuildArchives } from "../../data/GuildArchives";
|
||||
import { GuildLogs } from "../../data/GuildLogs";
|
||||
import { GuildMutes } from "../../data/GuildMutes";
|
||||
|
@ -77,4 +77,4 @@ export interface SpamPluginType extends BasePluginType {
|
|||
};
|
||||
}
|
||||
|
||||
export const spamEvt = typedGuildEventListener<SpamPluginType>();
|
||||
export const spamEvt = guildPluginEventListener<SpamPluginType>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue