forked from pothtonswer/discordmuffin
Bring back color
This commit is contained in:
parent
9c23b3bbef
commit
75a5d6bf62
1 changed files with 7 additions and 8 deletions
15
structs.go
15
structs.go
|
@ -170,14 +170,13 @@ type Guild struct {
|
|||
|
||||
// A Role stores information about Discord guild member roles.
|
||||
type Role struct {
|
||||
ID string `json:"id"`
|
||||
Name string `json:"name"`
|
||||
Managed bool `json:"managed"`
|
||||
Hoist bool `json:"hoist"`
|
||||
// This is coming back as an int or string, for now do not parse.
|
||||
Color int `json:"-"`
|
||||
Position int `json:"position"`
|
||||
Permissions int `json:"permissions"`
|
||||
ID string `json:"id"`
|
||||
Name string `json:"name"`
|
||||
Managed bool `json:"managed"`
|
||||
Hoist bool `json:"hoist"`
|
||||
Color int `json:"color"`
|
||||
Position int `json:"position"`
|
||||
Permissions int `json:"permissions"`
|
||||
}
|
||||
|
||||
// A VoiceState stores the voice states of Guilds
|
||||
|
|
Loading…
Reference in a new issue