📖 介绍
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 |
✨ 特别感谢
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nonebot_plugin_impart_plus-0.3.0.tar.gz.
File metadata
- Download URL: nonebot_plugin_impart_plus-0.3.0.tar.gz
- Upload date:
- Size: 42.1 kB
- Tags: Source
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
51959e4954e81156615a3d11ee95e7a0822d0abe0a558a3661448a95b7b7e433
|
|
| MD5 |
33365f17bff10741c9617e2f5f3a9e26
|
|
| BLAKE2b-256 |
e953b0debaf2379a0e430bb034850b4eba1c1c333c87e0e1bb13feb98e060f7f
|
File details
Details for the file nonebot_plugin_impart_plus-0.3.0-py3-none-any.whl.
File metadata
- Download URL: nonebot_plugin_impart_plus-0.3.0-py3-none-any.whl
- Upload date:
- Size: 57.1 kB
- Tags: Python 3
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
49efb38ab65dc79c773febae1c3114f4afcec35e226797d5597b8e4585706cd9
|
|
| MD5 |
b3c9a116878b2eda0f4acf303c84f094
|
|
| BLAKE2b-256 |
afd1d85d26e55a2a4c9aed824083130392a851f38618e39bec64c70eba47ffcb
|