Skip to main content

otto!

Project description

NoneBotPluginLogo

NoneBotPluginText

NoneBot-Plugin-ottoHzys

♿ 大电老师活字印刷 ♿

python uv wakatime
Pydantic Version 1 Or 2 license pypi pypi download
NoneBot Registry Supported Adapters

📖 介绍

前言

由于我不是很了解抽象文化,所以本插件纯度可能不是很够,有什么问题或者建议可以 联系我,或者直接 发 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

  • 重构部分代码

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

nonebot_plugin_ottohzys-1.0.2.tar.gz (12.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nonebot_plugin_ottohzys-1.0.2-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_ottohzys-1.0.2.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_ottohzys-1.0.2.tar.gz
Algorithm Hash digest
SHA256 0db6637c507c3141c49ada990e82d3436afe6e59d1e3a6d646c4b477d40a6c02
MD5 79e1fb131a65f8a97f6aaf684c133f92
BLAKE2b-256 32ff2b1080d385045d289632630809b7111cedec19b09ecb48657a138dad3789

See more details on using hashes here.

File details

Details for the file nonebot_plugin_ottohzys-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_ottohzys-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c9675f42636a4b271758382ada6c3742d11c85fbcd109bcb0fb57bd7dc3549a0
MD5 37b8d1bb133289fcc3ca38dde17e9822
BLAKE2b-256 addbfbca661c854445158e5bce4774f8283f7ec05e1e9b3441fb0e2abe3f739b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page