Files
HeXi/hexi/plugins/nonebot_plugin_dailywife
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
..

今日老婆

一个适用于HoshinoBot的随机群友老婆插件

★ 如果你喜欢的话,请给仓库点一个star支持一下23333 ★

本项目地址:

https://github.com/SonderXiaoming/dailywife

部署教程:

1.下载或git clone本插件:

在 HoshinoBot\hoshino\modules 目录下使用以下命令拉取本项目

git clone https://github.com/SonderXiaoming/dailywife

2.启用:

在 HoshinoBot\hoshino\config\ bot.py 文件的 MODULES_ON 加入 'dailywife'

然后重启 HoshinoBot

指令

【今日老婆】

随机抓一位群友当老婆

每天群友老婆是固定的

每个群友只能当一个人的老婆

彩蛋

超管必抽到bot

群友必抽不到bot

(与原版老婆指令对应,想ntr我老婆?)

修改的话只要把laopo.py的82,83,94行注释掉,84行elif改成if

已知问题

储存数据用json可能不太好