Bring back color

This commit is contained in:
Chris Rhodes 2016-02-22 08:20:36 -08:00
parent 9c23b3bbef
commit 75a5d6bf62

View file

@ -170,14 +170,13 @@ type Guild struct {
// A Role stores information about Discord guild member roles. // A Role stores information about Discord guild member roles.
type Role struct { type Role struct {
ID string `json:"id"` ID string `json:"id"`
Name string `json:"name"` Name string `json:"name"`
Managed bool `json:"managed"` Managed bool `json:"managed"`
Hoist bool `json:"hoist"` Hoist bool `json:"hoist"`
// This is coming back as an int or string, for now do not parse. Color int `json:"color"`
Color int `json:"-"` Position int `json:"position"`
Position int `json:"position"` Permissions int `json:"permissions"`
Permissions int `json:"permissions"`
} }
// A VoiceState stores the voice states of Guilds // A VoiceState stores the voice states of Guilds