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 🙏

© 2025 – Pkg Stats / Ryan Hefner

koishi-plugin-message-judge

v1.0.0

Published

基于引用回复统计来对消息进行自动审判(禁言/撤回/设为精华)

Downloads

105

Readme

koishi-plugin-message-judge

一个趣味/管理插件。通过统计群友对某条消息的引用回复关键词,自动对该消息的发送者进行“审判”。

功能介绍

  1. “屎”判定(惩罚)

    • 当某条消息在规定时间内被引用并回复包含“屎”(关键词可自定义)达到指定次数。
    • 机器人将撤回该消息,并禁言发送者。
  2. “色”判定(奖励/标记)

    • 当某条消息在规定时间内被引用并回复包含“色”(关键词可自定义)达到指定次数。
    • 机器人会将该消息设为群精华(支持 OneBot/QQ)或置顶(其他平台)。

配置项

| 配置项 | 默认值 | 说明 | |Str|Str|Str| | timeWindow | 3600000 | 统计的时间窗口(毫秒),默认 1 小时 | | shiKeyword | | 触发惩罚的关键词 | | shiThreshold | 3 | 触发惩罚需要的投票人数 | | muteDuration | 600000 | 禁言时长(毫秒),默认 10 分钟 | | seKeyword | | 触发精华的关键词 | | seThreshold | 3 | 触发精华需要的投票人数 |

注意事项

  • 机器人需要具有管理员权限才能撤回消息、禁言成员或设置精华。
  • 插件设有防刷机制,同一用户对同一条消息多次回复只计算一次票数。