Skip to main content

怪物猎人猜BOSS

Project description

nonebot-plugin-mhguesser

✨ <怪物猎人猜BOSS> ✨

license PyPI - Version 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.2.8.tar.gz (18.7 kB view details)

Uploaded Source

Built Distribution

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

nonebot_plugin_mhguesser-0.2.8-py3-none-any.whl (20.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nonebot_plugin_mhguesser-0.2.8.tar.gz
  • Upload date:
  • Size: 18.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.25.9 CPython/3.10.9 Windows/10

File hashes

Hashes for nonebot_plugin_mhguesser-0.2.8.tar.gz
Algorithm Hash digest
SHA256 9e233778af7e7c793ed748249e9a2ae63d0b6bcf5a38bf4ae0411d5a4e0fe4ca
MD5 cebbc342a8d903cd34addd6c0ff57a0a
BLAKE2b-256 a781a4d321c4b344bbcb31805fe10ae30c4df16bfd7f78f99fee56e3c5dba9dd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_mhguesser-0.2.8-py3-none-any.whl
Algorithm Hash digest
SHA256 36c5c126467504c152e80a0845af29d2c6b72b19db39554844f20748d4973fe1
MD5 f627dcdd92f8d67c86253fa3e340737e
BLAKE2b-256 94bd98f97cee3bab04c2918c27b9763501932ff4df5c13136f1eafc7c7d810a4

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