From 1742247a9ac2db0c4e91473ad6367868cc35b8af 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: Thu, 15 Aug 2024 19:40:33 +0800 Subject: [PATCH] build: fix --- src/onebot/helper/data.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/onebot/helper/data.ts b/src/onebot/helper/data.ts index 8127f4382..8cc7ec5e1 100644 --- a/src/onebot/helper/data.ts +++ b/src/onebot/helper/data.ts @@ -536,12 +536,13 @@ export class OB11Constructor { guildId: '', peerUid: msg.peerUid, }, msgSeq, 1, true, true)).msgList; + console.log("表情回应消息长度检测", replyMsgList.length) if (replyMsgList.length < 1) { return; } - const replyMsg = replyMsgList[0]; - console.log('表情回应消息', msgSeq, ' 结算ID', replyMsg.msgId); + const replyMsg = replyMsgList.reverse()[0];//获取最顶层消息 + //console.log('表情回应消息', msgSeq, ' 结算ID', replyMsg.msgId); return new OB11GroupMsgEmojiLikeEvent( core, parseInt(msg.peerUid),