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

Merge pull request #696 from sam01101/dev

临时会话添加Group字段, Fixes #695
This commit is contained in:
Mrs4s 2021-03-04 16:36:24 +08:00 committed by GitHub
commit cf5d3cef95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -123,6 +123,7 @@ func (bot *CQBot) tempMessageEvent(c *client.QQClient, m *message.TempMessage) {
"time": time.Now().Unix(),
"sender": MSG{
"user_id": m.Sender.Uin,
"group_id": m.GroupCode,
"nickname": m.Sender.Nickname,
"sex": "unknown",
"age": 0,