koishi-plugin-steam-family-bot
Version:
一个用于新版 Steam 家庭的库存监控 koishi Bot 插件
19 lines (18 loc) • 652 B
TypeScript
import { BotService, Config, TmpFileStorage } from '../interface';
import { Bot, Context } from 'koishi';
import { ChannelInfo } from '../interface';
import { KoishiSession } from '../session/schedule-session';
declare module 'koishi' {
interface Context {
bots: Bot[];
}
}
export * from './schedule-session';
export * from './cmd-session';
export declare class KoishiBotService implements BotService<ChannelInfo, KoishiSession> {
ctx: Context;
config: Config;
tmpFileStorage: TmpFileStorage | undefined;
constructor(ctx: Context, config: Config);
getSessionByChannelInfo(channelInfo: ChannelInfo): KoishiSession;
}