Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(Guild): preferredLocale to always be a string #6402

Merged
merged 2 commits into from
Aug 12, 2021
Merged

fix(Guild): preferredLocale to always be a string #6402

merged 2 commits into from
Aug 12, 2021

Conversation

Jiralite
Copy link
Member

Please describe the changes this PR makes and why it should be merged:
#6299 modified this to be nullable, but upon looking through Discord's documentation (and all prior versions) with testing on non-community guilds, it seems it is documented to always return a string and testing has verified this. Thus, this property will be modified to be only a string!

Status and versioning classification:

  • Code changes have been tested against the Discord API, or there are no code changes
  • I know how to update typings and have done so, or typings don't need updating

@iCrawl iCrawl changed the title revert(Guild): preferredLocale to always be a string fix(Guild): preferredLocale to always be a string Aug 12, 2021
@iCrawl iCrawl added this to the Version 13.1 milestone Aug 12, 2021
@iCrawl iCrawl merged commit 4a64662 into discordjs:main Aug 12, 2021
@Jiralite Jiralite deleted the locale-string branch August 12, 2021 17:02
@Jiralite Jiralite restored the locale-string branch August 12, 2021 17:50
@Jiralite Jiralite deleted the locale-string branch August 12, 2021 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants