1
0
mirror of https://github.com/fumiama/NanoBot.git synced 2026-06-08 20:20:23 +08:00

finish message

This commit is contained in:
源文雨
2023-10-11 23:52:49 +09:00
parent 7ce64da8c7
commit 784030f714
3 changed files with 125 additions and 9 deletions

View File

@@ -7,7 +7,7 @@ import "time"
// https://bot.q.qq.com/wiki/develop/api/openapi/member/model.html
type Member struct {
GuildID string `json:"guild_id"` // MemberWithGuildID only
User User `json:"user"`
User *User `json:"user"`
Nick string `json:"nick"`
Roles []string `json:"roles"`
JoinedAt time.Time `json:"joined_at"`