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-onebot-touxian

v0.1.0-beta.1

Published

🌟让一般路过群u也能修改自己的头衔!(需要bot是群主)

Downloads

129

Readme

koishi-plugin-onebot-touxian

🏷️ Koishi 插件:onebot-touxian - QQ 群头衔修改插件,支持管理员给成员设置头衔和群成员自助设置头衔。

npm npm-download

GitHub Gitee

Koishi Forum QQ群


📷 预览

preview


📦 安装

yarn add koishi-plugin-onebot-touxian
# or
npm install koishi-plugin-onebot-touxian

或在 Koishi 控制台的插件市场中搜索 onebot-touxian 安装。


✨ 功能特性

  • 👑 管理员设置头衔 — 通过 设置头衔 指令为指定成员设置群头衔(需在配置中添加 QQ 号)
  • 🆓 自助设置头衔 — 群成员通过 自助头衔 指令为自己设置专属头衔
  • 🏷️ 支持 @ 提及 — 通过 @用户 或直接输入 QQ 号指定目标用户
  • 🔄 指令别名设置头衔 同时支持 astawa_set_title 两种别名

📱 前置条件

使用本插件前,请确保目标群已开启 展示成员群头衔 功能:

手机QQ → 右上角 管理群个性管理群头衔和标识管理 → 开启 「展示成员群头衔」

否则即使通过 API 设置了头衔,群成员也不会看到。


📝 使用示例

1️⃣ 管理员给他人设置头衔

需要先将自己的 QQ 号添加到配置的 adminUsers 列表中。

设置头衔 ThisIsALongTouxian @VincentZyu

可以通过 @ 方式指定用户并设置头衔

设置头衔 ThisIsAnotherLongTouxian 1830540513

也可以传入qq号


2️⃣ 自助设置头衔

任何人都可以使用,为自己设置专属群头衔。

自助头衔 ThisIsMyTitle

🔧 配置项

| 配置项 | 类型 | 默认值 | 说明 | |---|---|---|---| | adminCommandName | string | 设置头衔 | 管理员给他人设置头衔的指令名| | selfCommandName | string | 自助头衔 | 给自己设置头衔的指令名 | | adminUsers | string[] | [] | 允许使用设置头衔指令的 QQ 号列表 |