diff --git a/lib/core/monitor.js b/lib/core/monitor.js index 9cd96c5..9ee722f 100644 --- a/lib/core/monitor.js +++ b/lib/core/monitor.js @@ -603,7 +603,7 @@ class Monitor extends Searcher { [4], () => bili.sendChatWithOcr( rid, - is_repost_then_chat ? relay_chat.split('//')[0] : chat, + chat, chat_type ) ) @@ -671,7 +671,10 @@ class Monitor extends Searcher { status = await retryfn( 5, [3, 4], - () => bili.autoRelay(global_var.get("myUID"), dyid, relay_chat, ctrl) + () => bili.autoRelay( + global_var.get("myUID"), dyid, + is_repost_then_chat ? chat + relay_chat : relay_chat + , ctrl) ) if (status) {