UNPKG

koishi-plugin-kbot

Version:
12 lines (11 loc) 354 B
import type { Context } from 'koishi'; import { Schema } from 'koishi'; export type Platform = 'netease' | 'qq'; export interface IConfig { platform?: string; showWarning?: boolean; useImage?: boolean; authority?: number; } export declare const Config: Schema<IConfig>; export declare function apply(ctx: Context, config: IConfig): void;