koishi-plugin-dailynews
Version:
定时发送每日新闻的 Koishi 插件,使用 60s API 获取新闻内容
22 lines (21 loc) • 484 B
TypeScript
import { Schema } from "koishi";
export declare const name = "dailynews";
export declare const inject: {
required: string[];
optional: any[];
};
export interface Config {
min?: number;
hour?: number;
dayOfMonth?: number;
weekDay?: number;
apiUrl?: string;
broad?: boolean;
broadArray?: Array<{
adapter: string;
botId: string;
groupId: string;
}>;
debugModel?: boolean;
}
export declare const Config: Schema<Config>;