UNPKG

koishi-plugin-kbot

Version:
18 lines (17 loc) 516 B
import type { Context } from 'koishi'; import { Logger, Schema } from 'koishi'; import * as statusPlugin from './status'; export interface IConfig { yiyan?: boolean; renjian?: boolean; news?: boolean; weather?: boolean; alApiToken?: string; checkBody?: { enabled: boolean; } & statusPlugin.IConfig; tts?: boolean; } export declare const Config: Schema<IConfig>; export declare const logger: Logger; export declare function apply(ctx: Context, config: IConfig): Promise<void>;