📖 介绍
移植自 OPQBot 的群聊小游戏 CHINCHIN-PK
💿 安装
nb-cli安装, 包管理器安装 二选一
使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装
nb plugin install nonebot-plugin-dicky-pk
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行,
根据你使用的包管理器, 输入相应的安装命令
pip
pip install nonebot-plugin-dicky-pk
pdm
pdm add nonebot-plugin-dicky-pk
poetry
poetry add nonebot-plugin-dicky-pk
conda
conda install nonebot-plugin-dicky-pk
打开 bot项目下的 pyproject.toml 文件,
在其 plugins 里加入 nonebot_plugin_dicky_pk
plugins = ["nonebot_plugin_dicky_pk"]
⚙️ 配置
首次运行该插件会生成 Dicky_PK.json 到Bot项目的 configs 文件夹里,
可根据 Dicky_PK.json 内的注释进行配置.
🎉 使用
指令表
开启(关闭)牛子秘境 # 插件总开关
牛子帮助 # 查看帮助
启用(禁用)牛子pk # 插件在群聊的开关
牛子 # 查看自己的牛子信息
pk @用户 # 对at的用户进行牛子PK, 一次只能PK一个用户
🔒(suo/嗦/锁)我 # 嗦自己的牛子
🔒(suo/嗦/锁) @用户 # 嗦at用户的牛子
打胶 # 安抚自己的牛子
看他牛子(看看牛子) @用户 # 查看at用户的牛子
注册牛子 # 注册属于你的牛子
牛子排名(牛子排行) # 查看牛子排行榜
牛友(牛子好友/牛子朋友)
关注牛子(添加牛友)
取关牛子(删除牛友)
牛子转生
牛子成就
牛子仙境
牛子修炼(牛子练功/牛子修仙)
注:
插件服务默认关闭, 首次运行时需向Bot发送 开启牛子秘境
群聊发送 开启牛子秘境 同时会在当前群聊启用 牛子PK,
关闭牛子秘境 同时会清除所有群聊的开关状态, 但不会删除用户的牛子信息.
Metadata
Release files for nonebot-plugin-dicky-pk 0.7.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 | Provenance | |
|---|---|---|---|---|
| nonebot_plugin_dicky_pk-0.7.1.tar.gz | 34.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nonebot_plugin_dicky_pk-0.7.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 73.7 kB
Release files / nonebot_plugin_dicky_pk-0.7.1.tar.gz
| Download URL | nonebot_plugin_dicky_pk-0.7.1.tar.gz |
|---|---|
| Size | 34.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5da056819f9209af12a22d660f3cc278ff7aff1e29a5708c59ea8ca095fc54ab
|
|
BLAKE2b-256 checksum How to use checksums |
3d9d2a4f851249540c972a64fee7da580681abfa9c05701452c25bd20565c845
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / nonebot_plugin_dicky_pk-0.7.1-py3-none-any.whl
| Download URL | nonebot_plugin_dicky_pk-0.7.1-py3-none-any.whl |
|---|---|
| Size | 39.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
adccb7fef70fa8a58fd6c7093f14f000cbfcde1c1a895adcd8597337db8d4697
|
|
BLAKE2b-256 checksum How to use checksums |
2530e94700fd9abdb6b536682f8f335561148c009ff2c3182efa971e11f16491
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Security for nonebot-plugin-dicky-pk 0.7.1
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.