pokepoke_miss
介绍
wmc的戳一戳回复插件,消息内容、概率都可以定制喔~
功能
-
对机器人执行戳一戳操作时,根据概率选择一个消息进行回复
-
预设:
MISS- 概率 10%GOOD- 概率 10%GREAT- 概率 30%PERFECT- 概率 40%CRITICAL PERFECT- 概率 10%
安装
使用 NB-CLI 安装
在 Nonebot 根目录执行
nb plugin install pokepoke_miss
手动安装
-
将
pokepoke_miss.py文件放入你的 Nonebot 插件目录中 -
在
bot.py中写入以下代码:nonebot.load_plugin("FOLDER-TO-PLUGIN.pokepoke_miss")
自定义
根据需求修改 message_list 中的消息内容和对应的概率,例如:
message_list = [
("喵", 0.2),
("喵喵", 0.3),
("喵喵喵", 0.5)
]
许可
MIT License
Metadata
Release files for pokepoke_miss 0.1.20
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pokepoke_miss-0.1.20.tar.gz | 3.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pokepoke_miss-0.1.20-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.9 kB
Release files / pokepoke_miss-0.1.20.tar.gz
| Download URL | pokepoke_miss-0.1.20.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4aa040d54d41183304aef760527f3a01bdbaf240be8f423facb0247a3609f396
|
|
BLAKE2b-256 checksum How to use checksums |
d2eeacdc467e44f520146630c3e19875aa85434dbea8048b8ebd67e37d49777a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.9.19 Linux/6.5.0-1025-azure
|
Release files / pokepoke_miss-0.1.20-py3-none-any.whl
| Download URL | pokepoke_miss-0.1.20-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
57bf91151513659ac1de3c57049f7df7528beb1ac76d83b37072bd0a2f7d5baa
|
|
BLAKE2b-256 checksum How to use checksums |
db3d8e890c5b8c56ee85a54ace211516de0f258bcc4799c46c058012c865d2d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.9.19 Linux/6.5.0-1025-azure
|