Template plugin project
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
文件中添加下表中的必填配置
配置项 | 必填 | 默认值 | 说明 |
---|---|---|---|
RIFFUSION_TIMEOUT |
否 | 30 |
插件请求接口超时,单位秒 |
RIFFUSION_BREAK_URL |
否 | False |
是否破坏插件消息中的 URL 以降低风控概率 |
🎉 使用
使用指令 riffusion -h
查看帮助
📞 联系
QQ:3076823485
Telegram:@lgc2333
吹水群:1105946125
邮箱:lgc2333@126.com
💡 鸣谢
Riffusion
- 服务提供
nonebot/plugin-alconna
- 强大的命令解析库,和多平台适配方案
💰 赞助
感谢大家的赞助!你们的赞助将是我继续创作的动力!
-
赞助二维码(点击展开)
📝 更新日志
芝士刚刚发布的插件,还没有更新日志的说 qwq~
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
Close
Hashes for nonebot_plugin_riffusion-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d5ad5185f1a1036b8221fa02a919cf16e5752cdc5861ef1b98d317fc0b68101 |
|
MD5 | 5cd53600367e1d630d1178196e7b522a |
|
BLAKE2b-256 | 0eefe0bec304fe3b96979ffeb583078c4da855497c629217367d42d63cea5908 |
Close
Hashes for nonebot_plugin_riffusion-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd6ec53e16cb844ba12f552cac107b40608379ba00f4deb62b3110e5086bdbd2 |
|
MD5 | 5e0cd8f9fb9e72aba0c70fbc75f501a2 |
|
BLAKE2b-256 | 1d2698d11bdfefe38644325ab923443da6e7f6b03526f3c043a2550179c97d3e |