koishi-plugin-cave
Version:
A mysterious cave where the sound is echoed over and over again.
27 lines (26 loc) • 855 B
TypeScript
import { Context, Schema } from 'koishi';
export declare const name = "cave";
export interface User {
id: string;
name: string;
avatar?: string;
}
export interface getStrangerInfo {
user_id: number;
nickname: string;
sex: string;
age: number;
}
export interface Config {
manager: string[];
consoleinfo: any;
consolefor: any;
nameinfo: any;
number: number;
helpinfo: any;
}
export declare const Config: Schema<Config>;
export declare function saveImages(urls: any, selectedPath: any, safeFilename: any, imageExtension: any, config: any, session: any, ctx: any): Promise<string>;
export declare function getFileCountPlusOne(dirPath: string): Promise<string>;
export declare function getMaxCaveId(filePath: any): Promise<number>;
export declare function apply(ctx: Context, config: Config): Promise<void>;