This commit is contained in:
student_2333 2024-05-10 21:41:06 +08:00
parent c521269409
commit 0435409870
No known key found for this signature in database
GPG Key ID: B36E8DF853C33EE1

View File

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