Skip to main content

nonebot-plugin-pokemonle

✨ <猜宝可梦> ✨

license PyPI - Version python

nonebot插件版的猜宝可梦,修改自pokemonle

💿 安装

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

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

plugins = ["nonebot_plugin_pokemonle"]

⚙️ 配置

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

配置项 必填 类型 默认值 说明
pokemonle_max_attempts 否 int 10 最大尝试次数
pokemonle_gens 否 list [] 世代选择,例如:["第一世代", "第三世代", "第五世代"],空代表都选
pokemonle_cheat 否 bool False 是否开启恶作剧

🎉 使用

猜宝可梦: 开始游戏

直接输入怪物名称进行猜测

结束:结束游戏

📖 说明

游戏目标

通过输入宝可梦名称进行猜测,找出目标宝可梦。每次猜测后,你将获得输入宝可梦的相关信息,帮助你逐步接近答案。

提示颜色说明

绿色高亮 表示该信息与目标宝可梦完全相同。

黄色高亮 表示该信息与目标宝可梦接近但不完全相同。

黄色高亮的触发条件

种族值总和:与目标宝可梦的差值 ≤ 50
速度:与目标宝可梦的差值 ≤ 10
世代:与目标世代相邻(差值 ≤ 1)
进化方式:不完全相同但属于相似进化方式(例如使用物品、特定地点、等级、亲密度等)
形态标签:两只宝可梦都有地区形态,特殊形态所属地区不同

上下箭头的作用

在种族值总和、速度、世代等数值类信息中,箭头提示你猜测的方向是否正确:

↑:表示你输入的宝可梦的该数值低于目标宝可梦,建议下次猜测选择数值更高的宝可梦。

↓:表示你输入的宝可梦的该数值高于目标宝可梦,建议下次猜测选择数值更低的宝可梦。

Metadata

Release files for nonebot-plugin-pokemonle 0.0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nonebot-plugin-pokemonle 0.0.8
File Size Uploaded Provenance Actions
nonebot_plugin_pokemonle-0.0.8.tar.gz 4.9 MB Without provenance Details for nonebot_plugin_pokemonle-0.0.8.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nonebot-plugin-pokemonle 0.0.8
File Interpreter ABI Platform Actions
nonebot_plugin_pokemonle-0.0.8-py3-none-any.whl Python 3 none any Details for nonebot_plugin_pokemonle-0.0.8-py3-none-any.whl

Total release size: 11.0 MB

Release files / nonebot_plugin_pokemonle-0.0.8.tar.gz

Download URL nonebot_plugin_pokemonle-0.0.8.tar.gz
Size 4.9 MB
Tags Source
SHA-256 checksum
How to use checksums
ae141eba10466a3d031ea2cfe5a4d4d6b6eea3bf437811a4b3998bb785b5738c
BLAKE2b-256 checksum
How to use checksums
4fa534f41ceb2f411a605f4906b28362537cc05716bd2716db710571591c2190
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via pdm/2.29.2 CPython/3.12.15 Linux/6.17.0-1022-azure

Release files / nonebot_plugin_pokemonle-0.0.8-py3-none-any.whl

Download URL nonebot_plugin_pokemonle-0.0.8-py3-none-any.whl
Size 6.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
cfe3b83ac9f834f77b37dc45dfab2df005754465106fabf3a4442d58d36dce33
BLAKE2b-256 checksum
How to use checksums
46b473a8c89d8181a968583398929fc43e531a6443a62ee03c8beb6bce49b807
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via pdm/2.29.2 CPython/3.12.15 Linux/6.17.0-1022-azure

Security for nonebot-plugin-pokemonle 0.0.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page