Skip to content

Commit

Permalink
Fix a 4 year old bug (Modifying guild resets preferred locale) (#2711)
Browse files Browse the repository at this point in the history
  • Loading branch information
Misha-133 committed Aug 10, 2023
1 parent b2820d5 commit 12c50f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Discord.Net.Rest/API/Rest/ModifyGuildParams.cs
Expand Up @@ -36,7 +36,7 @@ internal class ModifyGuildParams
[JsonProperty("system_channel_flags")]
public Optional<SystemChannelMessageDeny> SystemChannelFlags { get; set; }
[JsonProperty("preferred_locale")]
public string PreferredLocale { get; set; }
public Optional<string> PreferredLocale { get; set; }
[JsonProperty("premium_progress_bar_enabled")]
public Optional<bool> IsBoostProgressBarEnabled { get; set; }
[JsonProperty("features")]
Expand Down

0 comments on commit 12c50f2

Please sign in to comment.