Skip to main content

怪物猎人猜BOSS

Project description

nonebot-plugin-mhguesser

✨ <怪物猎人猜BOSS> ✨

license python

怪物猎人:猜猜BOSS 的nonebot插件简单实现

💿 安装

使用 nb-cli 安装 在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装
nb plugin install nonebot-plugin-mhguesser
使用包管理器安装 在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令
pip
pip install nonebot-plugin-mhguesser
pdm
pdm add nonebot-plugin-mhguesser
poetry
poetry add nonebot-plugin-mhguesser
conda
conda install nonebot-plugin-mhguesser

打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入

plugins = ["nonebot_plugin_mhguesser"]

⚙️ 配置

在 nonebot2 项目的 env 文件中添加配置

配置项 必填 类型 默认值 说明
mhguesser_max_attempts int 10 最大尝试次数

🎉 使用

mhstart: 开始游戏

直接输入怪物名称进行猜测,若玩家猜测的怪物某项数据与答案怪物相同,对应的信息框将变为绿色。

结束:结束游戏

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_mhguesser-0.1.0.tar.gz (2.6 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

nonebot_plugin_mhguesser-0.1.0-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

nonebot_plugin_mhguesser-0.1.0-py2.py3-none-any.whl (3.1 kB view details)

Uploaded Python 2Python 3

File details

Details for the file nonebot_plugin_mhguesser-0.1.0.tar.gz.

File metadata

  • Download URL: nonebot_plugin_mhguesser-0.1.0.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.24.0 CPython/3.10.11 Windows/10

File hashes

Hashes for nonebot_plugin_mhguesser-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8481d09babb41b75739bb019ee8e60e91dee34165412d5a1b0ad997aaa1b7d1b
MD5 a60efc545c74a0eb89092695b925ad86
BLAKE2b-256 57476c4c42991f39ee9f3d95edcc9ce2ae33221074e9b46be67d629534265278

See more details on using hashes here.

File details

Details for the file nonebot_plugin_mhguesser-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_mhguesser-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 92d7c374f78a0830eec29dc855e925915ae8576153cdfb07ce83b08766079b91
MD5 ba637cd992e523965740a0084d1f1b56
BLAKE2b-256 9168f1d6d6b9ec1cc421ba786124becd18ce41171723f1fc54b36e8179eb93a0

See more details on using hashes here.

File details

Details for the file nonebot_plugin_mhguesser-0.1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_mhguesser-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b89a1d23500134c4af24de7fd6c5e3a729a0806adad498d223c544ffec50305f
MD5 fcae4e479072a65bf67d80bc85ea7eac
BLAKE2b-256 4529d34577ac254e52f9630a44997f24f58327b0977de42c582fab22c225ec1d

See more details on using hashes here.

Supported by

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