koishi-plugin-kbot
Version:
A muti-function qq bot for koishi
19 lines (18 loc) • 540 B
TypeScript
import type { Context } from 'koishi';
import { Logger, Schema } from 'koishi';
import type { DynamicNotifiction } from '../model';
declare module '..' {
interface BilibiliChannel {
dynamic?: DynamicNotifiction[];
}
}
export interface IConfig {
interval: number;
device: 'pc' | 'mobile';
live: boolean;
authority: number;
useImage?: boolean;
}
export declare const Config: Schema<IConfig>;
export declare const logger: Logger;
export declare function apply(ctx: Context, config: IConfig): Promise<void>;