📖 介绍
怪物猎人集会码插件
💿 安装
使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-mhcodes --upgrade
使用 pypi 源安装
nb plugin install nonebot-plugin-mhcodes --upgrade -i "https://pypi.org/simple"
使用清华源安装
nb plugin install nonebot-plugin-mhcodes --upgrade -i "https://pypi.tuna.tsinghua.edu.cn/simple"
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令uv
uv add nonebot-plugin-mhcodes
安装仓库 master 分支
uv add git+https://github.com/padoru233/nonebot-plugin-mhcodes@master
pdm
pdm add nonebot-plugin-mhcodes
安装仓库 master 分支
pdm add git+https://github.com/padoru233/nonebot-plugin-mhcodes@master
poetry
poetry add nonebot-plugin-mhcodes
安装仓库 master 分支
poetry add git+https://github.com/padoru233/nonebot-plugin-mhcodes@master
打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入
plugins = ["nonebot_plugin_mhcodes"]
使用 nbr 安装(使用 uv 管理依赖可用)
nbr 是一个基于 uv 的 nb-cli,可以方便地管理 nonebot2
nbr plugin install nonebot-plugin-mhcodes
使用 pypi 源安装
nbr plugin install nonebot-plugin-mhcodes -i "https://pypi.org/simple"
使用清华源安装
nbr plugin install nonebot-plugin-mhcodes -i "https://pypi.tuna.tsinghua.edu.cn/simple"
⚙️ 配置
无配置
🎉 使用
指令表
| 指令 | 权限 | 需要@ | 范围 | 说明 |
|---|---|---|---|---|
| 查看集会码 | 群员 | 否 | 群聊 | 查看当前群组集会码 |
| 添加集会码 [集会码] | 群员 | 否 | 群聊 | 添加集会码 + 集会码 |
| 删除集会码 [集会码] | 群员 | 否 | 群聊 | 删除集会码 + 集会码 |
| 重置集会码 | 群员 | 否 | 群聊 | 重置当前群组集会码 |
每天4点自动重置集会码
🎨 效果图
如果有效果图的话
Metadata
Release files for nonebot-plugin-mhcodes 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nonebot_plugin_mhcodes-0.1.1.tar.gz | 5.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nonebot_plugin_mhcodes-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.0 kB
Release files / nonebot_plugin_mhcodes-0.1.1.tar.gz
| Download URL | nonebot_plugin_mhcodes-0.1.1.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3a8f5e1b1de87b850b906cb8baf902eb852f8e04f59c98fd3b2ebb8473c2698c
|
|
BLAKE2b-256 checksum How to use checksums |
977a195ad4f11bdfd7a3a57cbab0051ee65467a0767bae06c7e968e4af59a55a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Sep 28, 2025.
Transparency logRelease files / nonebot_plugin_mhcodes-0.1.1-py3-none-any.whl
| Download URL | nonebot_plugin_mhcodes-0.1.1-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9fbfbcbfd26938d429405ebe2552829a44b0ee6f85b360a5352451d44c1b03cd
|
|
BLAKE2b-256 checksum How to use checksums |
42115ade2d34dca78a98875b4ef2734eb2811051f9e7dba758fd6641473cd885
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Sep 28, 2025.
Transparency log