mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 09:03:29 +01:00
fix(Guild): preferredLocale to always be a string (#6402)
This commit is contained in:
@@ -337,7 +337,7 @@ class Guild extends AnonymousGuild {
|
||||
|
||||
/**
|
||||
* The preferred locale of the guild, defaults to `en-US`
|
||||
* @type {?string}
|
||||
* @type {string}
|
||||
* @see {@link https://discord.com/developers/docs/dispatch/field-values#predefined-field-values-accepted-locales}
|
||||
*/
|
||||
this.preferredLocale = data.preferred_locale;
|
||||
|
||||
Reference in New Issue
Block a user