Explorar el Código

Fixed member struct to correctly store guildid as int.

Bruce Marriner hace 9 años
padre
commit
b122bd3013
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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"`