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,5 +1,5 @@
|
|||
import * as t from "io-ts";
|
||||
import { BasePluginType, typedGuildCommand, typedGuildEventListener } from "knub";
|
||||
import { BasePluginType, guildPluginMessageCommand, guildPluginEventListener } from "knub";
|
||||
import { GuildAutoReactions } from "../../data/GuildAutoReactions";
|
||||
import { GuildLogs } from "../../data/GuildLogs";
|
||||
import { GuildSavedMessages } from "../../data/GuildSavedMessages";
|
||||
|
@ -20,5 +20,5 @@ export interface AutoReactionsPluginType extends BasePluginType {
|
|||
};
|
||||
}
|
||||
|
||||
export const autoReactionsCmd = typedGuildCommand<AutoReactionsPluginType>();
|
||||
export const autoReactionsEvt = typedGuildEventListener<AutoReactionsPluginType>();
|
||||
export const autoReactionsCmd = guildPluginMessageCommand<AutoReactionsPluginType>();
|
||||
export const autoReactionsEvt = guildPluginEventListener<AutoReactionsPluginType>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue