Files
HeXi/hexi/plugins/nonebot_plugin_huoziyinshua
sansenhoshiandClaude 9371a28e35 refactor: restructure plugins per MTSS standard, consolidate assets to res/
Per docs/plugin-audit-report.md (plugins normalized to
Trigger(handlers) → Service(services) → Model(repository/models) + utils):

- Split monolithic __init__.py into handlers/services/utils across
  dailywife, deer_pipe, dice, galgame_card, helldivers_tools,
  huoziyinshua, learning_chat, makeaquote, mc_server_status,
  ncm_saying, picfinder_take, picstatus, random_jm_code, regif,
  steam_info, video_analysis, group_tools
- Move static assets under res/: deer_pipe font/img, makeaquote font,
  helldivers img/templates, huoziyinshua HuoZiYinShua
- Add config.py + register_config_items to ncm_saying, random_jm_code,
  group_tools; learning_chat unified config bridge
- Remove deprecated: voice_trans plugin, bf_bot/test.py, dead code in
  dailywife/deer_pipe, empty dirs, debug scripts under helldivers temp
- Disable brash_general_supercredits_tools (stub comment only)
- bot.py: optional stdout/stderr redirect to log file for Web log viewer,
  force ANSI colorize on non-TTY sinks
- Move runtime data (jm_code.json) out of plugin dir into hexi/data
- Docs: plugin-audit-report.md; README reflects removed plugins

Co-Authored-By: Claude <noreply@anthropic.com>
2026-09-03 00:44:38 +08:00
..

HuoZiYinShua_HoshinoBot

适用于HoshinoBot的otto活字印刷插件

核心代码来自DSP-8192/HuoZiYinShua,参考了Kazagumo/nonebot-HuoZiYinShua的修改,截止本次编辑,两个仓库均未声明开源协议。

安装方法

  1. 在hoshino/modules下clone本仓库git clone https://github.com/SlightDust/HuoZiYinShua_HoshinoBot.git
  2. 在hoshino/config/__bot__.py中加入
MODULES_ON = {
...
'HuoZiYinShua_HoshinoBot',  # otto活字印刷
}
  1. 重启hoshino

另外需要手动安装以下pip库:
soundfile
psola
numpy
pypinyin

功能默认开启。服务叫ottohzys。

使用说明

指令 说明 指令示例
otto 一些内容 otto语音活字印刷 otto 大家好啊,我是里见光钻
otto 一些内容-reverse 活字印刷,并倒放 otto 哈里路大旋风 -reverse

Todo List

  • 基本功能
  • 异步
  • 添加更多原生大碟

日志

2023/12/27 缝好了,能用了
2023/12/29 以-reverse结尾可以倒放