Skip to main content

Nonebot2 汉字Wordle 插件

Project description

nonebot-plugin-handle

适用于 Nonebot2 的 汉字Wordle 猜成语插件

安装

  • 使用 nb-cli
nb plugin install nonebot_plugin_handle
  • 使用 pip
pip install nonebot_plugin_handle

使用

以下命令需要加命令前缀 (默认为/),可自行设置为空

@机器人 + 猜成语

你有十次的机会猜一个四字词语;

每次猜测后,汉字与拼音的颜色将会标识其与正确答案的区别;

青色 表示其出现在答案中且在正确的位置;

橙色 表示其出现在答案中但不在正确的位置;

每个格子的 汉字、声母、韵母、声调 都会独立进行颜色的指示。

当四个格子都为青色时,你便赢得了游戏!

可发送“结束”结束游戏;可发送“提示”查看提示。

使用 --strict 选项开启成语检查,即猜测的短语必须是成语,如:

@机器人 猜成语 --strict

或使用 handle 指令:

handle [--hint] [--stop] [--strict] [idiom]

示例

特别感谢

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nonebot_plugin_handle-0.3.0.tar.gz (10.0 MB view hashes)

Uploaded Source

Built Distribution

nonebot_plugin_handle-0.3.0-py3-none-any.whl (10.0 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page