fix: 评论并转发 (#259)

Fixed #259
This commit is contained in:
shanmite 2023-11-25 10:42:17 +08:00
parent 6dfee7efb8
commit 0c610701cb

View File

@ -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) {