Skip to main content

一个简单的舞立方插件

Project description

NoneBotPluginLogo

NoneBotPluginText

nonebot-plugin-dancecube

✨ 舞立方插件:提供舞立方战力分析等基础功能 ✨

license pypi python

📖 介绍

目前支持二维码登录、战力分析、战力分析(包含自制谱)、战绩最好的30首ap歌曲、获取指定歌曲id的个人成绩、自动更新官方曲目封面。

💿 安装

使用 nb-cli 安装 在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装
nb plugin install nonebot-plugin-dancecube
使用包管理器安装 在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令
pip
pip install nonebot-plugin-dancecube
pdm
pdm add nonebot-plugin-dancecube
poetry
poetry add nonebot-plugin-dancecube
conda
conda install nonebot-plugin-dancecube

打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入

plugins = ["nonebot_plugin_dancecube"]

⚙️ 配置

在 nonebot2 项目的.env文件中添加下表中的必填配置

配置项 必填 默认值 说明
COVER_UPDATE_CRON 0 3 * * * cron格式;默认每天凌晨3点更新官方曲目封面
SUPERUSERS - 超级用户/管理员
NICKNAME nisky 机器人名字,生成图片最低下会展示

🎉 使用

指令表

指令 权限 需要@ 范围 说明
/dc 群员 私聊/群聊 获取指令帮助
/dc login 群员 私聊 二维码登录
/dc myrt 群员 群聊 获取战力分析
/dc myrtall 群员 群聊 获取战力分析(含自制谱)
/dc ap30 群员 群聊 获取ap战绩最好的30首
/dc updatecover 超级用户 私聊/群聊 更新官方曲目封面

效果图

/dc myrt

myrt

/dc ap30

ap30

/dc song 6354

song 6354

Project details


Download files

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

Source Distribution

nonebot_plugin_dancecube-0.1.4.tar.gz (18.6 kB view details)

Uploaded Source

Built Distribution

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

nonebot_plugin_dancecube-0.1.4-py3-none-any.whl (23.4 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_dancecube-0.1.4.tar.gz.

File metadata

  • Download URL: nonebot_plugin_dancecube-0.1.4.tar.gz
  • Upload date:
  • Size: 18.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for nonebot_plugin_dancecube-0.1.4.tar.gz
Algorithm Hash digest
SHA256 64d40f09cc90e90d8e4182d9e8fb4cc10f140f4231214e46c8e3a22e7d79b984
MD5 b9bd2bf095bc3ebd6834e046e20da14b
BLAKE2b-256 9c716471b2edf61c7c392aeb607b3783aecda2e6dfeb9379edec981b3dc56ed9

See more details on using hashes here.

File details

Details for the file nonebot_plugin_dancecube-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_dancecube-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e9b39bd68c4d2ca70fa1485968b19177a4785ec48557a5dfb22e9f79b86e780f
MD5 d6f77bd822d83c52fd4579e2824a3ae9
BLAKE2b-256 54a4ca140f6a7b73d6ad7d5fe424e7bceecc95666b167a71b620836ebb871255

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