UNPKG

koishi-plugin-chatluna-plugin-common

Version:
56 lines (55 loc) 1.46 kB
import { Schema } from 'koishi'; import { ChatLunaPlugin } from 'koishi-plugin-chatluna/services/chat'; export interface Config extends ChatLunaPlugin.Config { request: boolean; requestMaxOutputLength: number; requestSelector: string[]; requestHeaders: { matcher: string; headers: Record<string, string>; }[]; fs: boolean; fsScopePath: string; fsSelector: string[]; fsIgnores: string[]; bilibili: boolean; bilibiliTempTimeout: number; group: boolean; groupScopeSelector: string[]; groupWhitelist: string[]; command: boolean; commandWithSend: boolean; commandBlacklist: string[]; commandList: { command: string; description: string; selector: string[]; confirm: boolean; }[]; chat: boolean; think: boolean; todos: boolean; cron: boolean; cronScopeSelector: string[]; send: boolean; draw: boolean; music: boolean; actions: boolean; drawPrompt: string; drawCommand: string; drawSelector: string[]; musicSelector: string[]; actionsList: { name: string; description: string; openAPISpec: string; headers: Record<string, string>; selector: string[]; }[]; } export declare const Config: Schema<Config>; export declare const inject: { required: string[]; optional: string[]; }; export declare const name = "chatluna-plugin-common";