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)
This commit is contained in:
2026-08-08 17:41:10 +08:00
parent d7e940fe2e
commit d4de39f294
4 changed files with 11 additions and 9 deletions
+3 -3
View File
@@ -11,9 +11,9 @@
"super_chat": true
},
"templates": {
"danmaku": "卧槽!、是{uname}!、他说、 {msg}",
"gift": "感谢由{viewer_name}投喂的{gift_name}",
"blind_box": "感谢由{viewer_name}投喂的{gift_name}爆出了{blind_box_gift}",
"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": "",