Procházet zdrojové kódy

Fixed member struct to correctly store guildid as int.

Bruce Marriner před 9 roky
rodič
revize
b122bd3013
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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"`