Fixed member struct to correctly store guildid as int.
This commit is contained in:
parent
f885ce38d2
commit
b122bd3013
1 changed files with 1 additions and 1 deletions
2
guild.go
2
guild.go
|
@ -49,7 +49,7 @@ type Presence struct {
|
|||
|
||||
// TODO: Member vs User?
|
||||
type Member struct {
|
||||
GuildId int `json:"guild_id"`
|
||||
GuildId int `json:"guild_id,string"`
|
||||
JoinedAt string `json:"joined_at"`
|
||||
Deaf bool `json:"deaf"`
|
||||
mute bool `json:"mute"`
|
||||
|
|
Loading…
Reference in a new issue