Skip to main content

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)

Table of built distributions (wheels) for starbot-blindbox 1.2
File Interpreter ABI Platform
starbot_blindbox-1.2-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

1.2 This release

1 release file

1.1

1 release file

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