这是一个 nonebot2 版本的AI乐府插件
📖 介绍
Nonebot2的AI乐府插件,让乐府替你说话!
💿 安装
使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-yuefu
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install nonebot-plugin-yuefu
pdm
pdm add nonebot-plugin-yuefu
poetry
poetry add nonebot-plugin-yuefu
conda
conda install nonebot-plugin-yuefu
打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入
plugins = ["nonebot_plugin_example"]
⚙️ 配置
在 nonebot2 项目的.env文件中添加下表中的必填配置
| 配置项 | 必填 | 默认值 | 说明 |
|---|---|---|---|
| 配置项1 | 是 | 无 | 配置说明 |
| 配置项2 | 否 | 无 | 配置说明 |
🎉 使用
指令表
| 指令 | 权限 | 需要@ | 范围 | 说明 |
|---|---|---|---|---|
| 指令1 | 主人 | 否 | 私聊 | 指令说明 |
| 指令2 | 群员 | 是 | 群聊 | 指令说明 |
效果图
如果有效果图的话
Release files for nonebot-plugin-yuefu 0.1.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 | |
|---|---|---|---|
| nonebot_plugin_yuefu-0.1.1.tar.gz | 7.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nonebot_plugin_yuefu-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.7 kB
Release files / nonebot_plugin_yuefu-0.1.1.tar.gz
| Download URL | nonebot_plugin_yuefu-0.1.1.tar.gz |
|---|---|
| Size | 7.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9c3012a3e922fd60ff7f9d8e43d3af91b44fef91c82dbd374671c39e738eace1
|
|
BLAKE2b-256 checksum How to use checksums |
836e69e8b5409ec2275241a08c65517d7257760e22b37d9600c6064bcef71cdd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.2 CPython/3.9.13 Windows/10
|
Release files / nonebot_plugin_yuefu-0.1.1-py3-none-any.whl
| Download URL | nonebot_plugin_yuefu-0.1.1-py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dacf30aaee687ebbdbd2201886e72f984de51a4f2a986fac271c95132daef7c2
|
|
BLAKE2b-256 checksum How to use checksums |
d6174f5a234289a4e85231c5313b76762f351ff00aa39b03275ecd5da12b9146
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.2 CPython/3.9.13 Windows/10
|