koishi-plugin-toram
Version:
18 lines (17 loc) • 465 B
TypeScript
import { SessionEvent } from "..";
import { Bot } from "koishi";
export declare class TalkMgr {
private static instance;
static Inst(): TalkMgr;
private bot;
private _talks;
setBot(bot: Bot): void;
setTalks(): void;
private genTalk;
reply(event: SessionEvent, talkType: string, args?: {
[key: string]: string;
}): void;
send(targetId: string, talkType: string, args?: {
[key: string]: string;
}): void;
}