Skip to main content

pokepoke_miss

介绍

wmc的戳一戳回复插件,消息内容、概率都可以定制喔~

功能

  • 对机器人执行戳一戳操作时,根据概率选择一个消息进行回复

  • 预设:

    • MISS - 概率 10%
    • GOOD - 概率 10%
    • GREAT - 概率 30%
    • PERFECT - 概率 40%
    • CRITICAL PERFECT - 概率 10%

安装

使用 NB-CLI 安装

在 Nonebot 根目录执行

nb plugin install pokepoke_miss

手动安装

  1. 将 pokepoke_miss.py 文件放入你的 Nonebot 插件目录中

  2. 在 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)

Source distribution for pokepoke_miss 0.1.20
File Size Uploaded Provenance Actions
pokepoke_miss-0.1.20.tar.gz 3.5 kB Without provenance Details for pokepoke_miss-0.1.20.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pokepoke_miss 0.1.20
File Interpreter ABI Platform Actions
pokepoke_miss-0.1.20-py3-none-any.whl Python 3 none any Details for pokepoke_miss-0.1.20-py3-none-any.whl

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

Security for pokepoke_miss 0.1.20

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