From 0435409870d10bc499dcbf59354a8e7b706c0353 Mon Sep 17 00:00:00 2001 From: student_2333 Date: Fri, 10 May 2024 21:41:06 +0800 Subject: [PATCH] fix --- src/onebot11/action/msg/SendMsg.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/onebot11/action/msg/SendMsg.ts b/src/onebot11/action/msg/SendMsg.ts index a81ea617..43a384e5 100644 --- a/src/onebot11/action/msg/SendMsg.ts +++ b/src/onebot11/action/msg/SendMsg.ts @@ -319,7 +319,7 @@ export async function createSendElements(messageData: OB11MessageData[], group: (postData as CustomMusicSignPostData).singer = sendMsg.data.content; delete (postData as OB11MessageCustomMusic['data']).content; } - const musicMsgElement = await genMusicElement(sendMsg.data); + const musicMsgElement = await genMusicElement(postData); logDebug('生成音乐消息', musicMsgElement); if (musicMsgElement) { sendElements.push(musicMsgElement);