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.2.tar.gz (16.5 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.2-py3-none-any.whl (18.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nonebot_plugin_dancecube-0.1.2.tar.gz
  • Upload date:
  • Size: 16.5 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.2.tar.gz
Algorithm Hash digest
SHA256 def05e3829a0150b4a82c39df5d8eb04a85702cfaed20d2ce6bf2455c1881121
MD5 7347188626a7b4efbcd8e2151c6e755e
BLAKE2b-256 1c696c7aca04bd75a87302ed1484c7c99fdd7cd79dda56401ac585a33ee81654

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_dancecube-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fc1f066129a4c33ffd8909810c11d328cccbb07e02179cdafd9a894a5d40e616
MD5 d2a4fa673f25df152da483ba9ea4e07e
BLAKE2b-256 fe19a57579449ea143add0556bfe600b092283de5bc6e2b552a0b5d5c2a84bde

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