Let AI riff a song for you.
Project description
💿 安装
以下提到的方法 任选其一 即可
[推荐] 使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-riffusion
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install nonebot-plugin-riffusion
pdm
pdm add nonebot-plugin-riffusion
poetry
poetry add nonebot-plugin-riffusion
conda
conda install nonebot-plugin-riffusion
打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分的 plugins 项里追加写入
[tool.nonebot]
plugins = [
# ...
"nonebot_plugin_riffusion"
]
⚙️ 配置
在 NoneBot2 项目的 .env 文件中添加下表中的必填配置
| 配置项 | 必填 | 默认值 | 说明 |
|---|---|---|---|
PROXY |
否 | None |
插件请求 API 使用的代理地址 |
RIFFUSION_TIMEOUT |
否 | 30 |
插件请求接口超时,单位秒 |
RIFFUSION_BREAK_URL |
否 | False |
是否破坏插件消息中的 URL 以降低风控概率 |
🎉 使用
使用指令 riffusion -h 查看帮助
📞 联系
QQ:3076823485
Telegram:@lgc2333
吹水群:1105946125
邮箱:lgc2333@126.com
💡 鸣谢
Riffusion
- 服务提供
nonebot/plugin-alconna
- 强大的命令解析库,和多平台适配方案
💰 赞助
感谢大家的赞助!你们的赞助将是我继续创作的动力!
-
赞助二维码(点击展开)
📝 更新日志
0.2.1
- 修 Bug
0.2.0
- 适配 Pydantic V1 & V2
0.1.2
- 添加
PROXY配置项
0.1.1
- 修复
-h参数无效的问题
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nonebot_plugin_riffusion-0.2.1.tar.gz.
File metadata
- Download URL: nonebot_plugin_riffusion-0.2.1.tar.gz
- Upload date:
- Size: 8.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: pdm/2.12.4 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
96080f5d9cd78db1824a55df26ecf30e248ded1b64672793ffaa17ab7ab048e3
|
|
| MD5 |
52b0fdcf82b4fd86a3cdffd1eabde9b5
|
|
| BLAKE2b-256 |
975d8faf7343cd16deec459cfb11bedeb98e82da45cf09eeed318cd494950f7e
|
File details
Details for the file nonebot_plugin_riffusion-0.2.1-py3-none-any.whl.
File metadata
- Download URL: nonebot_plugin_riffusion-0.2.1-py3-none-any.whl
- Upload date:
- Size: 9.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: pdm/2.12.4 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a2b866de04451e81069209826eb418f207cbc09797f9962ddc368c89faf79996
|
|
| MD5 |
dbcef3335623c07e340e0a5b28e98e3b
|
|
| BLAKE2b-256 |
89281afb1b112228b785cbc92a4bdce3e9c7d0ecb18b57f5ce430c86ff80cc46
|