koishi-plugin-kbot
Version:
A muti-function qq bot for koishi
18 lines (17 loc) • 516 B
TypeScript
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>;