💿 安装
以下提到的方法 任选其一 即可
[推荐] 使用 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参数无效的问题
Metadata
Release files for nonebot-plugin-riffusion 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nonebot_plugin_riffusion-0.2.1.tar.gz | 8.1 kB | Without provenance | Details for nonebot_plugin_riffusion-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nonebot_plugin_riffusion-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for nonebot_plugin_riffusion-0.2.1-py3-none-any.whl |
Total release size: 17.7 kB
Release files / nonebot_plugin_riffusion-0.2.1.tar.gz
| Download URL | nonebot_plugin_riffusion-0.2.1.tar.gz |
|---|---|
| Size | 8.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
96080f5d9cd78db1824a55df26ecf30e248ded1b64672793ffaa17ab7ab048e3
|
|
BLAKE2b-256 checksum How to use checksums |
975d8faf7343cd16deec459cfb11bedeb98e82da45cf09eeed318cd494950f7e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
pdm/2.12.4 CPython/3.10.12
|
Release files / nonebot_plugin_riffusion-0.2.1-py3-none-any.whl
| Download URL | nonebot_plugin_riffusion-0.2.1-py3-none-any.whl |
|---|---|
| Size | 9.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a2b866de04451e81069209826eb418f207cbc09797f9962ddc368c89faf79996
|
|
BLAKE2b-256 checksum How to use checksums |
89281afb1b112228b785cbc92a4bdce3e9c7d0ecb18b57f5ce430c86ff80cc46
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
pdm/2.12.4 CPython/3.10.12
|
Security for nonebot-plugin-riffusion 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.