diff --git a/manifest.json b/manifest.json index 8336a28..f218c4e 100644 --- a/manifest.json +++ b/manifest.json @@ -4,7 +4,7 @@ "name": "LLOneBot", "slug": "LLOneBot", "description": "实现 OneBot 11 协议,用以 QQ 机器人开发", - "version": "3.28.5", + "version": "3.28.6", "icon": "./icon.webp", "authors": [ { diff --git a/src/ntqqapi/api/msg.ts b/src/ntqqapi/api/msg.ts index b413271..de26ba1 100644 --- a/src/ntqqapi/api/msg.ts +++ b/src/ntqqapi/api/msg.ts @@ -208,8 +208,9 @@ export class NTQQMsgApi { } static async multiForwardMsg(srcPeer: Peer, destPeer: Peer, msgIds: string[]): Promise { - const msgInfos = msgIds.map(async id => { - return { msgId: id, senderShowName: await getSelfNick() } + const senderShowName = await getSelfNick() + const msgInfos = msgIds.map(id => { + return { msgId: id, senderShowName } }) const selfUid = getSelfUid() let data = await NTEventDispatch.CallNormalEvent< diff --git a/src/version.ts b/src/version.ts index 313c8ea..b13a226 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const version = '3.28.5' +export const version = '3.28.6'