Nonebot2 汉字Wordle 插件
Project description
nonebot-plugin-handle
适用于 Nonebot2 的 汉字Wordle 猜成语插件
安装
- 使用 nb-cli
nb plugin install nonebot_plugin_handle
- 使用 pip
pip install nonebot_plugin_handle
配置项
以下配置项可在
.env.*
文件中设置,具体参考 NoneBot 配置方式
handle_strict_mode
- 类型:
bool
- 默认:
False
- 说明:是否启用严格模式,开启后猜测的短语必须是成语
handle_color_enhance
- 类型:
bool
- 默认:
False
- 说明:是否启用色彩增强模式
使用
以下命令需要加命令前缀 (默认为/
),可自行设置为空
@机器人 + 猜成语
你有十次的机会猜一个四字词语;
每次猜测后,汉字与拼音的颜色将会标识其与正确答案的区别;
青色 表示其出现在答案中且在正确的位置;
橙色 表示其出现在答案中但不在正确的位置;
每个格子的 汉字、声母、韵母、声调 都会独立进行颜色的指示。
当四个格子都为青色时,你便赢得了游戏!
可发送“结束”结束游戏;可发送“提示”查看提示。
或使用 handle
指令:
handle [--hint] [--stop] [idiom]
示例
特别感谢
- antfu/handle A Chinese Hanzi variation of Wordle - 汉字 Wordle
- AllanChain/chinese-wordle Chinese idiom wordle game | 仿 wordle 的拼成语游戏
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
Close
Hashes for nonebot_plugin_handle-0.3.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15ce8148a0ad74926ee88a8d9bcec4b3b862d55d89ea9b06b74a0b3d93a7ecf4 |
|
MD5 | 91518acf71979bca01a0b0a11eb72d34 |
|
BLAKE2b-256 | ec2afafcfc91b50de91551f09f9919c8bcffaa293ac50415426abaf75eaca91d |
Close
Hashes for nonebot_plugin_handle-0.3.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c4a8a73fa1c361e980c8591b3d7230912651cf698268b6515a25acb58817bc2 |
|
MD5 | 6abfb70e6c5640e35464ac20f5392963 |
|
BLAKE2b-256 | d5af8e4279e2ce21c35acc27a3e2391a76765bc22e5a3bfcc949323e64ff2e30 |