nonebot-plugin-guess
《猜猜看》nonebot2插件(Guess a name plugin for nonebot2)
Field-tested with nonebot 2.0.0b2
安装
pip install nonebot-plugin-guess
# pip install nonebot-plugin-guess -U # 升级到最新版
or
poetry add nonebot-plugin-guess
# poetry add nonebot-plugin-guess@latest # 升级到最新版
or
poetry add git+https://github.com/ffreemt/nonebot-plugin-guess-game.git
or
pip install git+https://github.com/ffreemt/nonebot-plugin-guess-game.git
or clone https://github.com/ffreemt/nonebot-plugin-guess-game and install from the repo.
使用
# bot.py
...
nonebot.load_plugin("nonebot_plugin_guess")
...
然后在机器人所在的群里或给机器人发私信 /guess (或cai, 猜猜看, 猜)即可开始“猜猜看”游戏。
定制
插件自带的游戏数据仅限“猜城市名” 及固定的城市名:"上海", "北京", "广州", "深圳", "香港", "雅典", "西安", "长沙", "多伦多", "旧金山", "Zurich", "约翰内斯堡"; 最多猜的次数: 4
如需自己定制游戏,可在.env 里加入:
# .env
guess_name = "人名"
guess_max = 3
guess_name_list = ["贾宝玉", "林黛玉",]
Metadata
Release files for nonebot-plugin-guess 0.1.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nonebot-plugin-guess-0.1.9.tar.gz | 4.7 kB | Without provenance | Details for nonebot-plugin-guess-0.1.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nonebot_plugin_guess-0.1.9-py3-none-any.whl | Python 3 | none | any | Details for nonebot_plugin_guess-0.1.9-py3-none-any.whl |
Total release size: 9.8 kB
Release files / nonebot-plugin-guess-0.1.9.tar.gz
| Download URL | nonebot-plugin-guess-0.1.9.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2527ccb720d16124a979b0c91fb5f4432b3316336f7e315a8f25989bd4e4c961
|
|
BLAKE2b-256 checksum How to use checksums |
e5d82786b002c55d637f91d8c2571f5e4e3ea536d6735fbae9274b67a0cd7666
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.1 CPython/3.8.10 Windows/10
|
Release files / nonebot_plugin_guess-0.1.9-py3-none-any.whl
| Download URL | nonebot_plugin_guess-0.1.9-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
db6b9bfefdcd80d4e9da03f2b136a0d11c7e1a08cad3c378cac8eda573929957
|
|
BLAKE2b-256 checksum How to use checksums |
8e84f5c3bc3297035466da98d8ca62e171008366cdfca623ac7d6434c27e5842
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.1 CPython/3.8.10 Windows/10
|
Security for nonebot-plugin-guess 0.1.9
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.