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.3.tar.gz (14.4 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.3-py3-none-any.whl (17.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nonebot_plugin_dancecube-0.1.3.tar.gz
  • Upload date:
  • Size: 14.4 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.3.tar.gz
Algorithm Hash digest
SHA256 9f026d4a58c4492fd549a42eeafb4a69e08a47f7505d7add095d79de0be14057
MD5 de9c9fc746f5b14f9876e83b6af3a62e
BLAKE2b-256 bacd6d61cf241101f8629833912baf92b50f8afac17767b0ca0d6d1a25babff7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_dancecube-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4d78f72865511270fa542bafa8bb6f96a72c48fc7662c39f9e08992f2f81de58
MD5 8802ef5ba89ae7a739a635c09cf1f329
BLAKE2b-256 3a17d9e76998a8d9a77ae3789257f8d236e9c295491ae0c889f2a8376b4e6c6c

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