Skip to content
This repository was archived by the owner on Mar 5, 2023. It is now read-only.

Commit 8a5201a

Browse files
committed
feat(GuildParams): make PremiumProgressBarEnabled pointer
Make PremiumProgressBarEnabled field of GuildParams a pointer to allow for the false value.
1 parent 2a22f54 commit 8a5201a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

structs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1149,7 +1149,7 @@ type GuildParams struct {
11491149
PreferredLocale Locale `json:"preferred_locale,omitempty"`
11501150
Features []GuildFeature `json:"features,omitempty"`
11511151
Description string `json:"description,omitempty"`
1152-
PremiumProgressBarEnabled bool `json:"premium_progress_bar_enabled,omitempty"`
1152+
PremiumProgressBarEnabled *bool `json:"premium_progress_bar_enabled,omitempty"`
11531153
}
11541154

11551155
// A Role stores information about Discord guild member roles.

0 commit comments

Comments
 (0)