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 🙏

© 2026 – Pkg Stats / Ryan Hefner

koishi-plugin-fakemsg-admin

v1.0.0

Published

带管理审核功能的伪造QQ合并聊天记录插件[点我查看使用方法](https://github.com/DoomVoss/Koishi-Plugins-CBS/tree/main/plugins/fakemsg-admin)

Readme

koishi-plugin-fakemsg-admin

npm

插件介绍

本插件用于 Koishi 机器人框架,提供伪造消息申请与管理员审核机制。

用户提交伪造内容后,由管理员私聊审核,通过后机器人将发送合并转发消息。

支持以下功能:

  • 支持多用户伪造消息
  • 支持同一用户多条消息伪造
  • 内置管理员审核机制
  • 支持备注说明
  • 支持每日使用次数限制
  • 支持屏蔽指定 QQ 号
  • 合并转发失败自动退化为逐条发送

插件配置项说明

以下配置项说明将同时体现在源码注释中。

| 配置项 | 类型 | 默认值 | 说明 | |:------|:------|:------|:------| | userSplit | string | \| | 多用户消息分隔符 | | messageSplit | string | 空格 | 同一用户多条消息分隔符 | | blockedUsers | string[] | [] | 被屏蔽的 QQ 号列表 | | adminUsers | string[] | [] | 管理员 QQ 列表(接收审核通知) | | maxDailySubmits | number | 2 | 用户每日最大申请次数 |


使用指令

申请伪造

fakemsg <内容> -r <备注>

| 参数 | 说明 | |:------|:------| | <内容> | 伪造格式内容 | | -r | 备注说明(可选) |

触发格式规则:

| 规则 | 说明 | |:------|:------| | QQ号说内容 | 伪造单个用户单条消息 | | \| | 分隔多个不同用户 | | 空格 | 分隔同一用户的多条消息 |

示例

fakemsg 114514说你好
fakemsg 114514说你好|1919810说收到
fakemsg 114514说你好 早上好 今天天气不错
fakemsg 114514说你好 早上好|1919810说周末要不要出去玩 -r 测试用途

管理员审核指令(私聊机器人使用)

| 指令 | 说明 | |:------|:------| | fake.pass <序号> | 通过申请 | | fake.deny <序号> [理由] | 拒绝申请 |

管理员会在私聊中收到如下信息:

  • 申请序号
  • 申请用户
  • 所在群组
  • 备注
  • 原始内容

审核通过后,机器人将在原会话中发送合并转发消息,并通知申请人。
审核拒绝后,将通知申请人拒绝原因。


使用流程说明

  1. 用户发送 fakemsg 指令提交申请
  2. 管理员私聊收到审核通知
  3. 管理员执行 fake.passfake.deny
  4. 审核通过后发送合并转发消息

注意事项

  1. 伪造消息的 QQ 号必须真实存在
  2. 被加入 blockedUsers 列表的 QQ 号无法被伪造
  3. 用户每日申请次数受 maxDailySubmits 限制
  4. 若合并转发发送失败,将自动退化为逐条发送文本消息

帮助与反馈


  • 1.0.0
    • 首次上传插件