From 890236af23bd5ed5c81dbc4d09ce120e0f20f095 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=8B=E7=93=9C=E4=B8=80=E5=8D=81=E9=9B=AA?= Date: Tue, 6 Aug 2024 18:01:36 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E5=8E=BB=E9=99=A4=E9=A3=8E=E6=8E=A7?= =?UTF-8?q?=E5=BB=B6=E8=BF=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/onebot11/action/msg/SendMsg/handle-forward-node.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/onebot11/action/msg/SendMsg/handle-forward-node.ts b/src/onebot11/action/msg/SendMsg/handle-forward-node.ts index 495caf28..387ddec7 100644 --- a/src/onebot11/action/msg/SendMsg/handle-forward-node.ts +++ b/src/onebot11/action/msg/SendMsg/handle-forward-node.ts @@ -24,12 +24,8 @@ async function cloneMsg(msg: RawMessage): Promise { if (sendElements.length === 0) { logDebug('需要clone的消息无法解析,将会忽略掉', msg); } - - //logDebug('克隆消息', sendElements); - try { const nodeMsg = await NTQQMsgApi.sendMsg(selfPeer, sendElements, true); - await sleep(500); // 防止风控 return nodeMsg; } catch (e) { logError(e, '克隆转发消息失败,将忽略本条消息', msg);