1
0
mirror of https://github.com/fumiama/NanoBot.git synced 2026-06-07 19:50:24 +08:00

fix: qq event

This commit is contained in:
源文雨
2023-11-16 22:34:18 +09:00
parent 737c05f1c1
commit d2f8a94e75
2 changed files with 2 additions and 1 deletions

View File

@@ -98,6 +98,7 @@ func (bot *Bot) processEvent(payload *WebsocketPayload) {
} else if msgv2.Author.MemberOpenID != "" {
ctx.Message.Author.ID = msgv2.Author.MemberOpenID
}
ctx.Value = ctx.Message
} else {
ctx.Message = (*Message)(x.UnsafePointer())
if ctx.Message.MentionEveryone {