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

Merge pull request #1005 from sam01101/dev.fix_time

修改错误的 `Timestamp`
This commit is contained in:
Mrs4s 2021-08-13 19:09:21 +08:00 committed by GitHub
commit ae04d26f51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -514,7 +514,7 @@ func (bot *CQBot) formatGroupMessage(m *message.GroupMessage) MSG {
"user_id": m.Sender.Uin, "user_id": m.Sender.Uin,
}, },
"sub_type": "normal", "sub_type": "normal",
"time": time.Now().Unix(), "time": m.Time,
"user_id": m.Sender.Uin, "user_id": m.Sender.Uin,
} }
if m.Sender.IsAnonymous() { if m.Sender.IsAnonymous() {