mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2024-11-16 21:09:23 +00:00
fix
This commit is contained in:
parent
c521269409
commit
0435409870
@ -319,7 +319,7 @@ export async function createSendElements(messageData: OB11MessageData[], group:
|
|||||||
(postData as CustomMusicSignPostData).singer = sendMsg.data.content;
|
(postData as CustomMusicSignPostData).singer = sendMsg.data.content;
|
||||||
delete (postData as OB11MessageCustomMusic['data']).content;
|
delete (postData as OB11MessageCustomMusic['data']).content;
|
||||||
}
|
}
|
||||||
const musicMsgElement = await genMusicElement(sendMsg.data);
|
const musicMsgElement = await genMusicElement(postData);
|
||||||
logDebug('生成音乐消息', musicMsgElement);
|
logDebug('生成音乐消息', musicMsgElement);
|
||||||
if (musicMsgElement) {
|
if (musicMsgElement) {
|
||||||
sendElements.push(musicMsgElement);
|
sendElements.push(musicMsgElement);
|
||||||
|
Loading…
Reference in New Issue
Block a user