UNPKG

koishi-plugin-yesimbot-extension-sticker-manager

Version:
22 lines (21 loc) 760 B
import { Context, Schema, Session } from 'koishi'; import { Infer } from "koishi-plugin-yesimbot/services"; export interface StickerConfig { storagePath: string; classificationPrompt: string; } export declare class StickerTools { ctx: Context; config: StickerConfig; static readonly Config: Schema<StickerConfig>; private stickerService; constructor(ctx: Context, config: StickerConfig); stealSticker({ image_id, session }: Infer<{ image_id: string; }> & { session: Session; }): Promise<import("koishi-plugin-yesimbot/services").ToolCallResult<any>>; sendRandomSticker({ category }: Infer<{ category: string; }>): Promise<import("koishi-plugin-yesimbot/services").ToolCallResult<any>>; }