diff --git a/src/onebot/api/msg.ts b/src/onebot/api/msg.ts index 230002d6..0f6d745e 100644 --- a/src/onebot/api/msg.ts +++ b/src/onebot/api/msg.ts @@ -622,7 +622,10 @@ export class OneBotMsgApi { } try { const musicJson = await RequestUtil.HttpGetJson(signUrl, 'POST', postData); - return this.ob11ToRawConverters.json(musicJson, context); + return this.ob11ToRawConverters.json({ + data: { data: musicJson }, + type: OB11MessageDataType.json + }, context); } catch (e) { this.core.context.logger.logError('生成音乐消息失败', e); }