Files
bililive-touhou-tts/event_rules.json
T
chun_qiu d4de39f294 feat: add {gift_count} variable to gift/blind box default rules
- New variable {gift_count} (gift quantity) alongside existing {gift_num}
- Default templates: 感谢由{viewer_name}投喂的{gift_count}个{gift_name}
- danmaku_handler passes gift_count=message.num
- README variable table and examples updated
- Rebuild portable zip (83.9 MB)
2026-08-08 17:41:10 +08:00

25 lines
761 B
JSON

{
"enabled": {
"danmaku": true,
"gift": true,
"blind_box": true,
"enter_room": true,
"follow": false,
"interact_other": false,
"buy_guard": true,
"guard_toast": false,
"super_chat": true
},
"templates": {
"danmaku": "{uname}说、 {msg}",
"gift": "感谢由{viewer_name}投喂的{gift_count}个{gift_name}",
"blind_box": "感谢由{viewer_name}投喂的{gift_count}个{gift_name}爆出了{blind_box_gift}",
"enter_room": "欢迎{viewer_name}进入直播间",
"follow": "",
"interact_other": "",
"buy_guard": "恭喜{ships_viewer_name}成为尊贵的{ships_level}",
"guard_toast": "",
"super_chat": "{viewer_name}的醒目留言:{super_chat_content}"
},
"skip_free_gift": true
}