npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

koishi-plugin-petpet

v1.0.7

Published

制作头像相关的表情包插件 For koishi

Downloads

95

Readme

koishi-plugin-petpet

npm

制作头像相关的表情包插件 For koishi

移植自nonebot-plugin-petpet

此插件对配置有一定要求,配置在2c4g以下的服务器运行效果无法保证。 原插件中的一些指令尚未实现,欢迎pr。

配置项

| 名字 | 类型 | 默认值 | 描述 | |------------|---------|--------|--------------------------------------------------------------------------| | prefix | string | "#" | 头像表情包的指令前缀。 | | saveOnDisk | boolean | true | 是否将模板图片保存到本地。启用此选项会加快生成速度,但会占用额外的硬盘空间。 | | normalFontPath | string | "" | 字体绝对路径,留空则会自动下载并保存默认字体在本地。 | | boldFontPath | string | "" | 字体绝对路径,留空则会自动下载并保存默认字体在本地。 | | repositoryEndpoint | string | "https://cdn.jsdelivr.net/gh/univeous/koishi-plugin-petpet@master/assets" | 图片、字体等资源的仓库地址。 |

使用

发送"头像表情包"或"help petpet"查看指令列表。

触发方式

  • 指令 + @用户
  • 指令 + ./。/自己
  • 指令 + 图片

支持的指令

| 指令 | 效果 | 备注 | | --- | --- | --- | | 摸摸摸摸头摸摸头rua | | 可使用参数“圆”让头像为圆形如:摸头 圆 自己 | | 亲亲亲 | | 可指定一个或两个目标若为一个则为 发送人 亲 目标若为两个则为 目标1 亲 目标2如:亲 @a 自己 | | 贴贴贴蹭蹭 | | 可指定一个或两个目标类似 亲 | | 顶玩 | | | | 拍 | | | | 撕 | | 默认为 发送人 撕 目标可使用参数“滑稽”替换发送人头像为滑稽如:撕 滑稽 @a可在图片上添加文本如:撕 拜托你很弱哎 @a | | 丢扔 | | | | 抛掷 | | | | 爬 | | 默认为随机选取一张爬表情可使用数字指定特定表情如:爬 13 自己 | | 精神支柱 | | | | 一直 | | 支持gif | | 加载中 | | 支持gif | | 转 | | | | 小天使 | | 图中名字为目标昵称可指定名字,如:小天使 meetwq 自己 | | 不要靠近 | | | | 一样 | | | | 滚 | | | | 玩游戏来玩游戏 | | 图中描述默认为:来玩休闲游戏啊可指定描述支持gif | | 膜膜拜 | | | | 吃 | | | | 啃 | | | | 出警 | | | | 警察 | | | | 问问去问问 | | 名字为昵称,可指定名字 | | 舔舔屏prpr | | 支持gif | | 搓 | | | | 墙纸 | | 支持gif | | 国旗 | | | | 交个朋友 | | 名字为昵称,可指定名字 | | 继续干活 | | | | 完美完美的 | | | | 关注 | | 名字为昵称,可指定名字 | | 这像画吗 | | | | 听音乐 | | | | 永远爱你 | | | | 采访 | | 可指定描述 | | 打拳 | | | | 群青 | | |