Browse Source

Fixed member struct to correctly store guildid as int.

Bruce Marriner 9 years ago
parent
commit
b122bd3013
1 changed files with 1 additions and 1 deletions
  1. 1 1
      guild.go

+ 1 - 1
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"`