📖 介绍
通过上传到群文件方式计算音频文件的bpm值(beat per minute)
💿 安装
使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-checkbpm
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install nonebot-plugin-checkbpm
pdm
pdm add nonebot-plugin-checkbpm
poetry
poetry add nonebot-plugin-checkbpm
conda
conda install nonebot-plugin-checkbpm
打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入
plugins = ["nonebot_plugin_checkbpm"]
⚙️ 配置
在 nonebot2 项目的.env文件中添加下表中的必填配置
| 配置项 | 必填 | 默认值 | 说明 |
|---|---|---|---|
| 无 | 无 | 无 | 无 |
🎉 使用
指令表
| 指令 | 权限 | 需要@ | 范围 | 说明 |
|---|---|---|---|---|
| bpm help | 群员 | 否 | 群聊 | 获取指令帮助 |
| bpmcheck/bpm计算/checkbpm/bpm检查 <文件名.mp3/flac/wav> | 群员 | 否 | 群聊 | 计算指定音频文件BPM值 |
Metadata
Release files for nonebot-plugin-checkbpm 1.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nonebot_plugin_checkbpm-1.0.7.tar.gz | 5.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nonebot_plugin_checkbpm-1.0.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.0 kB
Release files / nonebot_plugin_checkbpm-1.0.7.tar.gz
| Download URL | nonebot_plugin_checkbpm-1.0.7.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3b5ff367737c223cc862cb9e8deec2b7caff08fdee832e5b4ed08de72db0d4ad
|
|
BLAKE2b-256 checksum How to use checksums |
d56402fa0a0711ac692deb413e07be2d798e6e9cce25d862e8ef83a7c3383a46
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Release files / nonebot_plugin_checkbpm-1.0.7-py3-none-any.whl
| Download URL | nonebot_plugin_checkbpm-1.0.7-py3-none-any.whl |
|---|---|
| Size | 6.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
693548484312238e7bceb7f152857fb1e917d8a1c32a6239c63460d29b76ebae
|
|
BLAKE2b-256 checksum How to use checksums |
80af199d6b53708adfa290af8d4b2756a6176031fa5b258843c2ae381033b989
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|