fix: 大部分异常

This commit is contained in:
手瓜一十雪
2024-08-09 18:06:11 +08:00
parent e5fd9c6366
commit fbe2d78331
4 changed files with 86 additions and 58 deletions

View File

@@ -46,7 +46,7 @@ export default class GoCQHTTPGetGroupMsgHistory extends BaseAction<Payload, Resp
}));
//转换消息
const ob11MsgList = await Promise.all(msgList.map(msg => OB11Constructor.message(msg)));
const ob11MsgList = await Promise.all(msgList.map(msg => OB11Constructor.message(this.CoreContext, msg, "array")));
return { 'messages': ob11MsgList };
}
}