给你点颜色瞧瞧?给我点颜色瞧瞧(让我康康!
Project description
📖 介绍
给我点颜色看看,猜色块小游戏
💿 安装
使用 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,视为开启无尽猜色块游戏。开启后,只可通过指令停止游戏。
效果图
Project details
Release history Release notifications | RSS feed
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_color_see_see-0.2.0.tar.gz.
File metadata
- Download URL: nonebot_plugin_color_see_see-0.2.0.tar.gz
- Upload date:
- Size: 178.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
09f17f32a4eff0e5a4fad7855c007ab769b20ef3d2f99a3d6850b6e065583bfc
|
|
| MD5 |
b74773b44777074a61553ef0cc8a8b26
|
|
| BLAKE2b-256 |
b654eb5a01a59ef64ef777269a4175d176d42818db4858c26a2523b35fbb0256
|
File details
Details for the file nonebot_plugin_color_see_see-0.2.0-py3-none-any.whl.
File metadata
- Download URL: nonebot_plugin_color_see_see-0.2.0-py3-none-any.whl
- Upload date:
- Size: 177.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dab9a3a5e8cfdb2fa4430ea26982e861a3790f673973c65b36d1b52c3503691d
|
|
| MD5 |
3b61ac9a6de57f00cee24f7f8019f152
|
|
| BLAKE2b-256 |
2f87c28685cc14a9369137939c01c1a15b1dbbe3bce00584311303c1e4208c1c
|