@wahaha216/koishi-plugin-jmcomic
Version:
下载JM本子,无需python。支持pdf、zip加密。
27 lines (26 loc) • 748 B
TypeScript
import { Context, Schema } from "koishi";
export declare const name = "jmcomic";
export interface Config {
listeningJMId?: boolean;
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>;