koishi-plugin-yesimbot-extension-sticker-manager
Version:
YesImBot 表情包管理扩展
22 lines (21 loc) • 760 B
TypeScript
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>>;
}