Skip to main content

starbot-blindbox-plugin

Project description

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月盲盒,查询直播间月盲盒数据

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

starbot_blindbox-1.2-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

Details for the file starbot_blindbox-1.2-py3-none-any.whl.

File metadata

  • Download URL: starbot_blindbox-1.2-py3-none-any.whl
  • Upload date:
  • Size: 13.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.13

File hashes

Hashes for starbot_blindbox-1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c640564a9fc07c0c8593e50db2ac9baf5388ca36729499362e6285f234baa8e3
MD5 e253c06e8aba52033f1e5ecb058a1e1c
BLAKE2b-256 f20e3806535aeefe76eb585e3c7693ddccdf074a6ad42143f31321d5f92fc3a3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page