diff --git a/src/structures/Guild.js b/src/structures/Guild.js index 88e3a55309a5..12cb4fd1c3ce 100644 --- a/src/structures/Guild.js +++ b/src/structures/Guild.js @@ -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; diff --git a/typings/index.d.ts b/typings/index.d.ts index a5ca9b5aa335..c919b4cccd62 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -667,7 +667,7 @@ export class Guild extends AnonymousGuild { public members: GuildMemberManager; public mfaLevel: MFALevel; public ownerId: Snowflake; - public preferredLocale?: string; + public preferredLocale: string; public premiumSubscriptionCount: number | null; public premiumTier: PremiumTier; public presences: PresenceManager;