UNPKG

@wahaha216/koishi-plugin-steam-workshop

Version:

从 steam 创意工坊获取文件并上传,可选RPC推送至服务器下载

24 lines (23 loc) 640 B
import { Context, Schema } from "koishi"; export declare const name = "steam-workshop"; export interface Config { autoRecognise?: boolean; askDownload?: boolean; requestRetries?: number; downloadRetries?: number; threadCount?: number; inputTimeout?: number; rpc?: boolean; rpcIp?: string; rpcPort?: number; rpcSecure?: boolean; rpcSecret?: string; rpcPolling?: number; rpcPollingCount?: number; rpcDir?: string; } export declare const Config: Schema<Config>; export declare const inject: { required: string[]; }; export declare function apply(ctx: Context, config: Config): void;