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()

```shell
# 新增以下查询命令
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.1-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: starbot_blindbox-1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4518e7edd600b3d2be77fbef5635a18a3eec72c195af3896984096f7db9a743e
MD5 2f0959d166ee04bcd940dd82bbf2aba3
BLAKE2b-256 9e0b48dce7e0da22694853ed5b2ea877b824b26736f8ff9952314b4a0615cf99

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