mirror of
https://github.com/Mrs4s/go-cqhttp.git
synced 2025-05-05 03:23:49 +08:00
邀请入群添加邀请人id [invitor_id]
This commit is contained in:
parent
8343db5ae3
commit
b05a64fc1b
@ -545,6 +545,7 @@ func (bot *CQBot) groupInvitedEvent(c *client.QQClient, e *client.GroupInvitedRe
|
|||||||
bot.dispatchEvent("request/group/invite", global.MSG{
|
bot.dispatchEvent("request/group/invite", global.MSG{
|
||||||
"group_id": e.GroupCode,
|
"group_id": e.GroupCode,
|
||||||
"user_id": e.InvitorUin,
|
"user_id": e.InvitorUin,
|
||||||
|
"invitor_id": 0,
|
||||||
"comment": "",
|
"comment": "",
|
||||||
"flag": flag,
|
"flag": flag,
|
||||||
})
|
})
|
||||||
@ -556,6 +557,7 @@ func (bot *CQBot) groupJoinReqEvent(c *client.QQClient, e *client.UserJoinGroupR
|
|||||||
bot.dispatchEvent("request/group/add", global.MSG{
|
bot.dispatchEvent("request/group/add", global.MSG{
|
||||||
"group_id": e.GroupCode,
|
"group_id": e.GroupCode,
|
||||||
"user_id": e.RequesterUin,
|
"user_id": e.RequesterUin,
|
||||||
|
"invitor_id": e.ActionUin,
|
||||||
"comment": e.Message,
|
"comment": e.Message,
|
||||||
"flag": flag,
|
"flag": flag,
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user