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:
+3
-3
@@ -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": "",
|
||||
|
||||
Reference in New Issue
Block a user