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.
|
// 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
|
||||||
|
|
Loading…
Reference in a new issue