mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-10 20:35: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 { GuildPluginData, typedGuildEventListener } from "knub";
|
||||
import { GuildPluginData, guildPluginEventListener } from "knub";
|
||||
import { AllowedGuilds } from "../../data/AllowedGuilds";
|
||||
import { MINUTES } from "../../utils";
|
||||
import { zeppelinGuildPlugin } from "../ZeppelinPluginBlueprint";
|
||||
|
@ -14,7 +14,7 @@ export const GuildInfoSaverPlugin = zeppelinGuildPlugin<GuildInfoSaverPluginType
|
|||
configSchema: t.type({}),
|
||||
|
||||
events: [
|
||||
typedGuildEventListener({
|
||||
guildPluginEventListener({
|
||||
event: "guildUpdate",
|
||||
listener({ args }) {
|
||||
void updateGuildInfo(args.newGuild);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue