feat: remove like event (unreliable via INTERACT_WORD_V2); restore portable build dir

- Drop 'like' event from rules, handler and web UI (Bilibili like messages
  are not reliably delivered as INTERACT_WORD_V2 msg_type=6)
- Keep enter_room / follow / interact_other
- event_rules.json rewritten without like key
- build.py keeps BUILD_DIR = dist/portable
This commit is contained in:
2026-08-08 17:11:15 +08:00
parent 6ae7249583
commit 22ee613352
6 changed files with 9 additions and 15 deletions
+1 -3
View File
@@ -20,7 +20,6 @@ DEFAULT_RULES = {
"blind_box": True,
"enter_room": True,
"follow": False,
"like": False,
"interact_other": False,
"buy_guard": True,
"guard_toast": False,
@@ -32,7 +31,6 @@ DEFAULT_RULES = {
"blind_box": "\u611f\u8c22\u7531{viewer_name}\u6295\u5582\u7684{gift_name}\u7206\u51fa\u4e86{blind_box_gift}",
"enter_room": "\u6b22\u8fce{viewer_name}\u8fdb\u5165\u76f4\u64ad\u95f4",
"follow": "",
"like": "",
"interact_other": "",
"buy_guard": "\u606d\u559c{ships_viewer_name}\u6210\u4e3a\u5c0a\u8d35\u7684{ships_level}",
"guard_toast": "",
@@ -42,7 +40,7 @@ DEFAULT_RULES = {
}
ALL_EVENTS = [
"danmaku", "gift", "blind_box", "enter_room", "follow", "like",
"danmaku", "gift", "blind_box", "enter_room", "follow",
"interact_other", "buy_guard", "guard_toast", "super_chat",
]