starbot-bilibili 盲盒统计插件
安装
pip install starbot-blindbox
使用
1、需要安装配置Mysql, 创建数据库 2、请再main.py的bot.run前添加以下代码
import starbot_blindbox
config.set("MYSQL_DB", "starbot")
config.set("MYSQL_USERNAME", "starbot")
config.set("MYSQL_PASSWORD", "starbot")
config.set("CUSTOM_COMMANDS_PACKAGE", "starbot_blindbox.commands.builtin")
starbot_blindbox.register()
新增以下查询命令
1、我的盲盒、盲盒数据,查询上次开播的直播间盲盒数据 2、(我的)今日盲盒、(我的)昨日盲盒,查询直播间日盲盒数据 3、(我的)本周盲盒、(我的)上周盲盒,查询直播间周盲盒数据 3、(我的)X月盲盒,查询直播间月盲盒数据
Metadata
Release files for starbot-blindbox 1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| starbot_blindbox-1.2-py3-none-any.whl | Python 3 | none | any | Details for starbot_blindbox-1.2-py3-none-any.whl |
Release files / starbot_blindbox-1.2-py3-none-any.whl
| Download URL | starbot_blindbox-1.2-py3-none-any.whl |
|---|---|
| Size | 13.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c640564a9fc07c0c8593e50db2ac9baf5388ca36729499362e6285f234baa8e3
|
|
BLAKE2b-256 checksum How to use checksums |
f20e3806535aeefe76eb585e3c7693ddccdf074a6ad42143f31321d5f92fc3a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.13
|
Security for starbot-blindbox 1.2
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.