mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-25 18: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,7 +1,7 @@
|
|||
import { TextChannel } from "discord.js";
|
||||
import { EventEmitter } from "events";
|
||||
import * as t from "io-ts";
|
||||
import { BasePluginType, typedGuildCommand, typedGuildEventListener } from "knub";
|
||||
import { BasePluginType, guildPluginMessageCommand, guildPluginEventListener } from "knub";
|
||||
import { Case } from "../../data/entities/Case";
|
||||
import { GuildCases } from "../../data/GuildCases";
|
||||
import { GuildLogs } from "../../data/GuildLogs";
|
||||
|
@ -149,5 +149,5 @@ export interface BanOptions {
|
|||
|
||||
export type ModActionType = "note" | "warn" | "mute" | "unmute" | "kick" | "ban" | "unban";
|
||||
|
||||
export const modActionsCmd = typedGuildCommand<ModActionsPluginType>();
|
||||
export const modActionsEvt = typedGuildEventListener<ModActionsPluginType>();
|
||||
export const modActionsCmd = guildPluginMessageCommand<ModActionsPluginType>();
|
||||
export const modActionsEvt = guildPluginEventListener<ModActionsPluginType>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue