Merge pull request #331 from LLOneBot/dev

3.28.6
This commit is contained in:
idranme 2024-08-12 00:03:25 +08:00 committed by GitHub
commit 874acdd7fe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 4 deletions

View File

@ -4,7 +4,7 @@
"name": "LLOneBot",
"slug": "LLOneBot",
"description": "实现 OneBot 11 协议,用以 QQ 机器人开发",
"version": "3.28.5",
"version": "3.28.6",
"icon": "./icon.webp",
"authors": [
{

View File

@ -208,8 +208,9 @@ export class NTQQMsgApi {
}
static async multiForwardMsg(srcPeer: Peer, destPeer: Peer, msgIds: string[]): Promise<RawMessage> {
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<

View File

@ -1 +1 @@
export const version = '3.28.5'
export const version = '3.28.6'