koishi-plugin-oi-contest-sniffer
Version:
A Koishi plugin that can collect recent OI contests
17 lines (16 loc) • 482 B
TypeScript
import { Context, Schema } from 'koishi';
export declare const name = "oi-contest-sniffer";
export interface Config {
defaultMaxContests: number;
startSearchFrom: number;
timeout: number;
greetings: string[];
platformAliases: Record<string, string>;
statusText: {
upcoming: string;
coding: string;
ended: string;
};
}
export declare const Config: Schema<Config>;
export declare function apply(ctx: Context, config: Config): void;