feat(GuildParams): make PremiumProgressBarEnabled pointer
Make PremiumProgressBarEnabled field of GuildParams a pointer to allow for the false value.
This commit is contained in:
parent
2a22f54711
commit
8a5201aae6
1 changed files with 1 additions and 1 deletions
|
@ -1149,7 +1149,7 @@ type GuildParams struct {
|
|||
PreferredLocale Locale `json:"preferred_locale,omitempty"`
|
||||
Features []GuildFeature `json:"features,omitempty"`
|
||||
Description string `json:"description,omitempty"`
|
||||
PremiumProgressBarEnabled bool `json:"premium_progress_bar_enabled,omitempty"`
|
||||
PremiumProgressBarEnabled *bool `json:"premium_progress_bar_enabled,omitempty"`
|
||||
}
|
||||
|
||||
// A Role stores information about Discord guild member roles.
|
||||
|
|
Loading…
Reference in a new issue