📖 介绍
给我点颜色看看,猜色块小游戏
💿 安装
使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-color-see-see
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install nonebot-plugin-color-see-see
pdm
pdm add nonebot-plugin-color-see-see
poetry
poetry add nonebot-plugin-color-see-see
conda
conda install nonebot-plugin-color-see-see
打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入
plugins = ["nonebot_plugin_color_see_see"]
🎉 使用
记得使用命令前缀哦
指令表
| 指令 | 权限 | 参数 | 说明 |
|---|---|---|---|
| color/给我点颜色看看 | 所有 | -t 或 stop |
开始猜色块游戏。传入stop时,效果同停止猜色块。参数-t可指定游戏超时时间(不超过300秒)。如color -t 15 |
| 块+数字 | 所有 | 无 | 选择颜色不同的色块,如 块1 或 块 1 |
| 停止猜色块/停止给我点颜色看看 | 所有 | 无 | 手动停止当前正在进行的猜色块游戏 |
| 无尽猜色块 | 所有 | 无 | 开始一场没有时间限制的猜色块游戏,仅可通过停止猜色块来停止 |
当参数
-t--time传入0,视为开启无尽猜色块游戏。开启后,只可通过指令停止游戏。
效果图
Metadata
Release files for nonebot-plugin-color-see-see 0.2.0
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_color_see_see-0.2.0.tar.gz | 178.0 kB | Without provenance | Details for nonebot_plugin_color_see_see-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nonebot_plugin_color_see_see-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for nonebot_plugin_color_see_see-0.2.0-py3-none-any.whl |
Total release size: 355.4 kB
Release files / nonebot_plugin_color_see_see-0.2.0.tar.gz
| Download URL | nonebot_plugin_color_see_see-0.2.0.tar.gz |
|---|---|
| Size | 178.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
09f17f32a4eff0e5a4fad7855c007ab769b20ef3d2f99a3d6850b6e065583bfc
|
|
BLAKE2b-256 checksum How to use checksums |
b654eb5a01a59ef64ef777269a4175d176d42818db4858c26a2523b35fbb0256
|
| 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_color_see_see-0.2.0-py3-none-any.whl
| Download URL | nonebot_plugin_color_see_see-0.2.0-py3-none-any.whl |
|---|---|
| Size | 177.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dab9a3a5e8cfdb2fa4430ea26982e861a3790f673973c65b36d1b52c3503691d
|
|
BLAKE2b-256 checksum How to use checksums |
2f87c28685cc14a9369137939c01c1a15b1dbbe3bce00584311303c1e4208c1c
|
| 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-color-see-see 0.2.0
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.