UNPKG

@wahaha216/koishi-plugin-jmcomic

Version:

下载JM本子,无需python。支持pdf、zip加密。

26 lines (25 loc) 719 B
import { Context, Schema } from "koishi"; export declare const name = "jmcomic"; export interface Config { sendMethod?: "zip" | "pdf"; fileMethod?: "buffer" | "file"; retryCount?: number; password?: string; fileName?: string; concurrentDownloadLimit?: number; concurrentDecodeLimit?: number; concurrentQueueLimit?: number; level?: number; cache?: boolean; autoDelete?: boolean; deleteInStart?: boolean; keepDays?: number; cron?: string; debug?: boolean; } export declare const Config: Schema<Config>; export declare const inject: { required: string[]; optional: string[]; }; export declare function apply(ctx: Context, config: Config): Promise<void>;