Update Live-streaming code (auto-daily features)

This commit is contained in:
2026-08-15 17:45:19 +08:00
parent ba39e9743d
commit f623959fd4
19 changed files with 3517 additions and 62 deletions
+40 -1
View File
@@ -12,9 +12,16 @@
},
"bettergi": {
"_说明": "BetterGI.exe 的完整路径。work_dir 留空则自动取 exe 所在目录。",
"exe_path": "C:\\Program Files\\BetterGI\\BetterGI.exe",
"exe_path": "D:\\bgi-live\\BetterGI.exe",
"work_dir": ""
},
"daily": {
"one_dragon_template": "每日模板",
"managed_one_dragon_name": "直播系统自动每日",
"ley_line_craft_resin_before": true,
"commission_use_current_party": true,
"current_party_read_timeout_sec": 45
},
"global": {
"_说明": "default_cooldown: 冷却秒数防刷屏。admin_uids: 管理员UID绕过冷却。log_level: DEBUG/INFO/WARNING。restart_mode: gentle温和(执行中跳过)/aggressive激进(先杀BetterGI再重启,立即响应,适合直播)。",
"default_cooldown": 30,
@@ -249,6 +256,38 @@
"active_operator"
]
},
"daily": {
"enabled": true,
"aliases": [
"自动每日"
],
"allowed_roles": [
"super_admin",
"active_operator"
]
},
"switch_party": {
"enabled": true,
"aliases": [
"切换队伍",
"更换队伍"
],
"allowed_roles": [
"super_admin",
"active_operator"
]
},
"edit_party": {
"enabled": true,
"aliases": [
"修改队员",
"更换队员"
],
"allowed_roles": [
"super_admin",
"active_operator"
]
},
"leave": {
"enabled": true,
"aliases": [