📖 介绍
nonebot-plugin-impart-plus 是面向 NoneBot2 群聊场景的互动插件,围绕群内数值成长、PK、状态挑战和群友互动提供完整玩法
当前优先保证 OneBot V11 的实际实现与回归验收;其他 Adapter 仅保持通用接入设计,不提供逐平台测试承诺。
💿 安装
使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-impart-plus --upgrade
使用 pypi 源安装
nb plugin install nonebot-plugin-impart-plus --upgrade -i "https://pypi.org/simple"
使用清华源安装
nb plugin install nonebot-plugin-impart-plus --upgrade -i "https://pypi.tuna.tsinghua.edu.cn/simple"
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令uv
uv add nonebot-plugin-impart-plus
安装仓库 main 分支
uv add git+https://github.com/Misty02600/nonebot-plugin-impart-plus@main
pdm
pdm add nonebot-plugin-impart-plus
安装仓库 main 分支
pdm add git+https://github.com/Misty02600/nonebot-plugin-impart-plus@main
poetry
poetry add nonebot-plugin-impart-plus
安装仓库 main 分支
poetry add git+https://github.com/Misty02600/nonebot-plugin-impart-plus@main
打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入
plugins = ["nonebot_plugin_impart_plus"]
使用 nbr 安装(使用 uv 管理依赖可用)
nbr 是一个基于 uv 的 nb-cli,可以方便地管理 nonebot2
nbr plugin install nonebot-plugin-impart-plus
使用 pypi 源安装
nbr plugin install nonebot-plugin-impart-plus -i "https://pypi.org/simple"
使用清华源安装
nbr plugin install nonebot-plugin-impart-plus -i "https://pypi.tuna.tsinghua.edu.cn/simple"
⚙️ 配置
| 配置项 | 默认值 | 说明 |
|---|---|---|
DJ_CD_TIME |
600 |
打胶冷却时间(秒) |
PK_CD_TIME |
600 |
PK 冷却时间(秒) |
SUO_CD_TIME |
600 |
嗦与舔冷却时间(秒) |
FUCK_CD_TIME |
1200 |
透/榨群友冷却时间(秒) |
IMPART_FONT_FAMILY |
Noto Sans CJK SC |
绘图字体 |
🎉 使用
所有命令均遵循 NoneBot 的 COMMAND_START 配置
| 指令 | 权限 | 目标 | 说明 |
|---|---|---|---|
银趴开启、银趴禁止 |
管理员、群主或超级用户 | 当前群 | 开启或关闭群内玩法;开始/关闭是对应动作的 alias |
银趴帮助 |
群成员 | 当前群 | 输出插件命令说明;介绍是子命令 alias |
透/日/榨 + 群友/管理/群主 |
群成员 | 群友、管理或群主 | 群友可随机或 @ 指定 |
pk、对决 |
群成员 | 需要 @ 其他用户 |
根据发起者胜率统一结算目标 |
打胶、开导、开扣、挖矿 |
群成员 | 自己 | 增加自己的长度或深度 |
嗦/舔 |
群成员 | 需要 @ 其他用户 |
增加目标长度或深度 |
夺舍 |
群成员 | 需要 @ 其他用户 |
完成深渊试炼后解锁,夺取对方牛子的一半长度 |
银趴查询 |
群成员 | 自己或 @ 用户 |
查询长度或深度状态及当天注入量 |
银趴查询历史、银趴查询全部 |
群成员 | 自己或 @ 用户 |
查询状态、当天及历史总注入量 |
银趴排行榜、银趴排名、银趴榜单、银趴rank、jjrank |
群成员 | 当前平台 | 显示前五、后五及自己的排名;前缀可用 银趴、impart、jj |
✨ 特别感谢
Metadata
Release files for nonebot-plugin-impart-plus 0.3.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_impart_plus-0.3.2.tar.gz | 42.1 kB | Without provenance | Details for nonebot_plugin_impart_plus-0.3.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nonebot_plugin_impart_plus-0.3.2-py3-none-any.whl | Python 3 | none | any | Details for nonebot_plugin_impart_plus-0.3.2-py3-none-any.whl |
Total release size: 99.2 kB
Release files / nonebot_plugin_impart_plus-0.3.2.tar.gz
| Download URL | nonebot_plugin_impart_plus-0.3.2.tar.gz |
|---|---|
| Size | 42.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3907d6bc40a13b11ab9ad8d000a3f8c72091845bbbc4c4504e0107584cd52144
|
|
BLAKE2b-256 checksum How to use checksums |
590e970b0122bd7c8cc47d9ffccec752382a43e07a7bd2f25a83a7eed4416700
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / nonebot_plugin_impart_plus-0.3.2-py3-none-any.whl
| Download URL | nonebot_plugin_impart_plus-0.3.2-py3-none-any.whl |
|---|---|
| Size | 57.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e0c5b0c89dfcc8a94cf4b961a9f89e413749f36427a4f90817f24058f02d196d
|
|
BLAKE2b-256 checksum How to use checksums |
a21f5b8fefc9b2ab2bc150d60ea432f7f9f8daa1bc450fedea606ae94f3920ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for nonebot-plugin-impart-plus 0.3.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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.