NoneBot Plugin Set Essence Msg
📖 介绍
本插件为 NoneBot2 提供 QQ 群精华消息管理功能,支持:
- ✅ 设置精华消息
- ✅ 移除精华消息
基于 OneBot V11 协议实现, 支持 NapCat。
由AI驱动
📦 安装
使用 nb-cli(推荐)
nb plugin install nonebot-plugin-set-essence-msg
使用 pip
pip install nonebot-plugin-set-essence-msg
🚀 使用说明
前置要求
- 机器人账号必须是群管理员或群主
- OneBot 协议端需支持精华消息相关 API
- NapCat 已支持
📚 命令列表
设置精华
- 命令:
设精 - 别名:
加精、设为精华 - 权限:群管理员
- 说明:引用要设置的消息后发送命令
移除精华
- 命令:
移精 - 别名:
删精、取消精华、移除精华 - 权限:群管理员
- 说明:引用已设置为精华的消息后发送命令
🧪 使用示例
设置精华消息
- 在群聊中找到要设为精华的消息
- 引用(回复)该消息
- 发送:
设精
或:
加精
机器人回复:
✅ 已设为精华消息
消息ID: 1684290360
移除精华消息
- 引用已被设为精华的消息
- 发送:
删精
或:
取消精华
机器人回复:
✅ 已移除精华消息
消息ID: 1684290360
⚙️ 配置
ESSENCE_COOLDOWN=60 # 冷却时间,单位秒,默认为60,设为0关闭冷却,对超级用户、群主、管理员不生效 ESSENCE_ENABLED_GROUPS=[123456, 789012] # 启用插件的群号列表,包含0表示所有群都启用
📄 许可证
本项目采用 MIT 许可证。
🙏 致谢
- NoneBot2 - 强大的机器人框架
- OneBot - 聊天机器人应用接口标准
Metadata
Release files for nonebot-plugin-set-essence-msg 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nonebot_plugin_set_essence_msg-0.0.2.tar.gz | 5.3 kB | With provenance | Details for nonebot_plugin_set_essence_msg-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nonebot_plugin_set_essence_msg-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for nonebot_plugin_set_essence_msg-0.0.2-py3-none-any.whl |
Total release size: 11.7 kB
Release files / nonebot_plugin_set_essence_msg-0.0.2.tar.gz
| Download URL | nonebot_plugin_set_essence_msg-0.0.2.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
07ae4dbcdec38f4e49f0a3d9e37e21382a7a00b132cba244dcd3d376086be1fc
|
|
BLAKE2b-256 checksum How to use checksums |
60d534f54b45462afcc2880df87d0276084684999dc57e08f78ae7821976e069
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 17, 2026.
Transparency logRelease files / nonebot_plugin_set_essence_msg-0.0.2-py3-none-any.whl
| Download URL | nonebot_plugin_set_essence_msg-0.0.2-py3-none-any.whl |
|---|---|
| Size | 6.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2693bfc51052ccb25c8f24a28b3d7f0fb15488220431e7b692fa2419f2fc3431
|
|
BLAKE2b-256 checksum How to use checksums |
5cd4efee499cdd45b2ac52f8bd3989aa88cbb30fd7d80d45de185697edf8f85f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 17, 2026.
Transparency logSecurity for nonebot-plugin-set-essence-msg 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for nonebot_plugin_set_essence_msg-0.0.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 17, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.