koishi-plugin-podris
Version:
连接 Podris WebSocket 服务以获取地震速报等实时信息
15 lines (14 loc) • 371 B
TypeScript
import { Context, Schema } from 'koishi';
export declare const name = "podris";
export interface Config {
token: string;
endpoint: string;
targetGroups?: string[];
}
export declare const Config: Schema<Config>;
declare module 'koishi' {
interface Context {
database: any;
}
}
export declare function apply(ctx: Context, config: Config): void;