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

mioku-plugin-admin

v1.0.0

Published

管理插件,提供事件通知与群管/个人管理指令

Readme

Admin Plugin

Mioku 的管理插件,提供事件通知与 Bot 管理指令。

功能

  • 事件通知:好友消息、好友申请、群邀请、Bot 被禁言时自动通知主人
  • 个人管理:修改 Bot 头像、昵称、个性签名、性别,发送消息,查看好友/群列表等
  • 群管理:踢人、禁言、解禁、设管理、全体禁言、改头衔等群管操作
  • AI 技能:支持 AI 调用个人管理工具(owner 权限)和群管理工具(admin 权限)
  • WebUI 配置:可视化配置通知开关

安装

admin 文件夹放入 Mioku 的 plugins/ 目录即可

配置

配置文件位于 config/admin/base.json,也可通过 WebUI 管理。

| 配置项 | 类型 | 默认值 | 说明 | |-----------------------|----------|------|--------------------| | notifyTarget | number[] | [] | 通知目标 QQ 号,空则通知全部主人 | | notifyFriendMsg | boolean | true | 好友私聊消息通知 | | notifyFriendRequest | boolean | true | 好友申请通知 | | notifyGroupInvite | boolean | true | 群邀请通知 | | notifyGroupBan | boolean | true | Bot 被禁言通知 | | notifyGroupUnban | boolean | true | Bot 被解除禁言通知 | | notifyGroupKick | boolean | true | Bot 被踢出群聊通知 |

事件通知

当配置开启后,以下事件会通过私聊通知主人:

  • 好友消息[好友消息] 昵称(QQ号): 内容
  • 好友申请[好友申请] QQ号 验证消息: xxx,回复「通过」即可同意
  • 群邀请[群邀请] 群号 邀请人QQ号,回复「通过」即可同意
  • Bot 被禁言[Bot被禁言] 群号 操作人 时长
  • Bot 被踢[Bot被踢] 群号 操作者QQ 类型

通知由触发事件的 Bot 发送,多 Bot 实例时不会重复通知。

指令

除特别说明外,管理指令需要使用 / 前缀。

主人指令

| 指令 | 用法 | 说明 | |-------|---------------|------------------------| | /改头像 | /改头像 [图片] | 修改 Bot 头像,发送图片或引用图片 | | /改昵称 | /改昵称 昵称 | 修改 Bot 昵称 | | /改签名 | /改签名 签名内容 | 修改 Bot 个性签名 | | /改性别 | /改性别 男/女/无 | 修改 Bot 性别 | | 改群名片 | /改群名片 名片 | 修改 Bot 群名片(群聊中使用) | | /改群昵称 | /改群昵称 昵称 | 同改群名片 | | /改群头像 | /改群头像 [图片] | 修改群头像(群聊中使用) | | /删好友 | /删好友 QQ号 | 删除好友 | | /退群 | /退群 群号 | 退出指定群聊 | | /发好友 | /发好友 QQ号 内容 | 给好友发送私聊消息 | | /发群聊 | /发群聊 群号 内容 | 给群聊发送消息 | | /全部好友 | /全部好友 | 获取全部好友列表(仅私聊,转发消息,含头像) | | /全部群聊 | /全部群聊 | 获取全部群聊列表(仅私聊,转发消息,含头像) |

群管指令

以下指令在群聊中使用,需要发送者为群主、群管理或主人。

| 指令 | 用法 | 说明 | |-------|---------------|------------------------| | 改头衔 | /改头衔 @人 头衔 | 设置群成员头衔(需 Bot 为群主) | | 我要头衔 | 我要头衔 头衔 | 普通群员给自己设置头衔(需 Bot 为群主) | | 踢 | /踢 @人 | 踢出群成员 | | 禁言 | /禁言 @人 10分钟 | 禁言成员,支持分钟/小时/天 | | 解禁 | /解禁 @人 | 解除禁言 | | 设管理 | /设管理 @人 | 设置群管理员(需 Bot 为群主) | | /全体禁言 | /全体禁言 | 开启全体禁言 | | /全体解禁 | /全体解禁 | 关闭全体禁言 |