Skip to content

Commit

Permalink
add description field to roles
Browse files Browse the repository at this point in the history
  • Loading branch information
topi314 committed Dec 15, 2022
1 parent 3ef2632 commit f3a4a02
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions discord/role.go
Expand Up @@ -13,6 +13,7 @@ var _ Mentionable = (*Role)(nil)
type Role struct {
ID snowflake.ID `json:"id"`
Name string `json:"name"`
Description *string `json:"description,omitempty"`
Color int `json:"color"`
Hoist bool `json:"hoist"`
Position int `json:"position"`
Expand Down

0 comments on commit f3a4a02

Please sign in to comment.