UNPKG

koishi-plugin-wheel-fortune

Version:

一个灵活可配置的转盘/轮盘抽奖 Koishi 插件。

17 lines (16 loc) 438 B
import { Context, Schema } from 'koishi'; export declare const name = "fortune-wheel"; export declare const using: string[]; export interface Config { turntables: Turntable[]; spinningGifUrl: string; delay: number; } interface Turntable { name: string; command: string; options: string[]; } export declare const schema: Schema<Config>; export declare function apply(ctx: Context, config: Config): void; export {};