📖 介绍
前言
由于我不是很了解抽象文化,所以本插件纯度可能不是很够,有什么问题或者建议可以 联系我,或者直接 发 Issue!
由于原项目没有放 License,所以我也把本仓库的 License 删掉了,如果原作者有相关意见可以直接联系我。
💿 安装
以下提到的方法 任选其一 即可
[推荐] 使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-ottohzys
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install nonebot-plugin-ottohzys
pdm
pdm add nonebot-plugin-ottohzys
poetry
poetry add nonebot-plugin-ottohzys
conda
conda install nonebot-plugin-ottohzys
打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分的 plugins 项里追加写入
[tool.nonebot]
plugins = [
# ...
"nonebot_plugin_ottohzys"
]
⚙️ 配置
在 NoneBot2 项目的 .env 文件中添加下表中的必填配置
| 配置项 | 必填 | 默认值 | 说明 |
|---|---|---|---|
PROXY |
否 | 无 | 请求使用的代理地址 |
OTTOHZYS_PACK_LIST_URL |
否 | ... |
获取在线语音包列表时使用的地址 |
OTTOHZYS_PACK_DOWNLOAD_BASE_URL |
否 | ... |
下载语音包时使用的地址 |
OTTOHZYS_DEFAULT_PACK |
否 | otto |
默认语音包,如不存在会自动下载 |
🎉 使用
直接使用指令 hzys -h 查看帮助
📞 联系
QQ:3076823485
Telegram:@lgc2333
吹水群:168603371
邮箱:lgc2333@126.com
💡 鸣谢
sakaneko117/HUOZI & CwavGuy/HUOZI_aolianfeiallin.top & HanaYabuki/otto-hzys
- 造好的轮子
Rouphy
- 插件点子
💰 赞助
感谢大家的赞助!你们的赞助将是我继续创作的动力!
📝 更新日志
1.0.2
- 修复在新版 Alconna 中的参数默认值问题
1.0.1
- 修复小问题
1.0.0
- 重构项目,加入语音包支持
0.2.1
- 优化资源下载
0.2.0
- 适配 Pydantic V1 & V2
- 支持多平台
0.1.2
- 添加参数
-N(--normalize),改名部分参数 - 修复一系列粗心大意导致的 Bug,我是废物
0.1.1
- 重构部分代码
Metadata
Release files for nonebot-plugin-ottohzys 1.0.2
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_ottohzys-1.0.2.tar.gz | 12.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nonebot_plugin_ottohzys-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 27.3 kB
Release files / nonebot_plugin_ottohzys-1.0.2.tar.gz
| Download URL | nonebot_plugin_ottohzys-1.0.2.tar.gz |
|---|---|
| Size | 12.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0db6637c507c3141c49ada990e82d3436afe6e59d1e3a6d646c4b477d40a6c02
|
|
BLAKE2b-256 checksum How to use checksums |
32ff2b1080d385045d289632630809b7111cedec19b09ecb48657a138dad3789
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.8.13
|
Release files / nonebot_plugin_ottohzys-1.0.2-py3-none-any.whl
| Download URL | nonebot_plugin_ottohzys-1.0.2-py3-none-any.whl |
|---|---|
| Size | 14.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c9675f42636a4b271758382ada6c3742d11c85fbcd109bcb0fb57bd7dc3549a0
|
|
BLAKE2b-256 checksum How to use checksums |
addbfbca661c854445158e5bce4774f8283f7ec05e1e9b3441fb0e2abe3f739b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.8.13
|