1
0
mirror of https://github.com/Mrs4s/go-cqhttp.git synced 2025-05-04 19:17:37 +08:00

邀请入群添加邀请人id [invitor_id]

This commit is contained in:
xiangxiangxiong9 2022-12-20 20:37:08 +08:00
parent 8343db5ae3
commit b05a64fc1b
No known key found for this signature in database
GPG Key ID: D01786C0000CF134

View File

@ -545,6 +545,7 @@ func (bot *CQBot) groupInvitedEvent(c *client.QQClient, e *client.GroupInvitedRe
bot.dispatchEvent("request/group/invite", global.MSG{
"group_id": e.GroupCode,
"user_id": e.InvitorUin,
"invitor_id": 0,
"comment": "",
"flag": flag,
})
@ -556,6 +557,7 @@ func (bot *CQBot) groupJoinReqEvent(c *client.QQClient, e *client.UserJoinGroupR
bot.dispatchEvent("request/group/add", global.MSG{
"group_id": e.GroupCode,
"user_id": e.RequesterUin,
"invitor_id": e.ActionUin,
"comment": e.Message,
"flag": flag,
})