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-fei-draw

v0.0.6

Published

简易的json抽牌~牌堆json使用dice!格式(目前只有基础功能

Downloads

213

Readme

koishi-plugin-fei-draw

npm

fei的自定义抽牌~

本插件是模仿了dice!的".draw"功能的自制抽牌插件 牌堆的json文件沿用了dice!的格式 ...还兼容了yml格式)

牌堆的json文件格式

目前支持的插值内容:

插值格式 | 效果 | 示例 :--- | :--- | :--- {%牌堆名称} | 从指定的牌堆中抽取一张牌(会自动忽略两边的空格) | 一张{%_随机颜色}的{%卡片} {self} | 机器人的群名称或昵称 | {self}疑惑地看着你 {nick} | 发送者的群昵称或昵称 | {self}疑惑地看着{nick} <img src="..."/> | html标签格式的图片(koishi本身支持) | <img src="https://koishi.chat/logo.png"/> [CQ:image,file=...] | cq码格式的图片(手动转换成img进行了支持) | [CQ:image,file=https://koishi.chat/logo.png] <br> | 换行 | 我看看...<br>是这样吗? <message/> | 消息分割 | 我想想...<message/>...我想不出来了 [骰子表达式] | 骰子表达式Dicexp | [1d6+1]

...以及其他能够利用 session.send() 发送的koishi消息元素

未来计划

  • [] 加入对权重语法的支持

作者声明

为避免被滥用,本插件的更新计划不会包含用户通过指令自定义牌堆的功能

更新日志

0.0.6

  • 支持了骰子表达式

0.0.5

  • 支持在插件配置页面查看当前装载的牌堆了
  • 添加了一个带有图片的牌堆示例

0.0.4

  • 支持了yml格式~感觉真不错
  • 添加了一个yml格式的牌堆示例

0.0.3

  • 添加了对{self}和{nick}的支持

0.0.2

  • 完善了基本功能,允许从本地选择牌堆文件夹

0.0.1

  • 初次发布