UNPKG

koishi-plugin-jrys-prpr

Version:

[<ruby>**jrys-prpr**<rp>(</rp><rt>点我查看预览图</rt><rp>)</rp></ruby>](https://i0.hdslb.com/bfs/article/ae33f1b2e9dbc3fe89363a40fbf040703493298333289018.png)😽QQ官方json按钮支持,20个群即可发按钮!支持 monetary!很好看的字体! 支持自动清理记录内容。

11 lines (10 loc) 471 B
import type { Context, Session } from 'koishi'; import type { Config, JrysData } from '../types'; /** * 生成运势卡片 HTML */ export declare function generateFortuneHTML(ctx: Context, session: Session, config: Config, dJson: JrysData, BackgroundURL_base64: string, logInfo: (...args: any[]) => void): Promise<string>; /** * 获取图片 Buffer(用于 raw_jrys 模式) */ export declare function getImageBuffer(ctx: Context, rawUrl: string): Promise<Buffer>;