Skip to content

Commit

Permalink
refactor: use Locale type for PreferredLocale
Browse files Browse the repository at this point in the history
  • Loading branch information
FedorLap2006 committed Dec 17, 2022
1 parent 352ad9b commit f6d80e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion structs.go
Original file line number Diff line number Diff line change
Expand Up @@ -1146,7 +1146,7 @@ type GuildParams struct {
SystemChannelFlags SystemChannelFlag `json:"system_channel_flags,omitempty"`
RulesChannelID string `json:"rules_channel_id,omitempty"`
PublicUpdatesChannelID string `json:"public_updates_channel_id,omitempty"`
PreferredLocale string `json:"preferred_locale,omitempty"`
PreferredLocale Locale `json:"preferred_locale,omitempty"`
Features []GuildFeature `json:"features,omitempty"`
Description string `json:"description,omitempty"`
PremiumProgressBarEnabled bool `json:"premium_progress_bar_enabled,omitempty"`
Expand Down

0 comments on commit f6d80e5

Please sign in to comment.