diff --git a/src/structures/StageInstance.js b/src/structures/StageInstance.js index be4c1f2ff..460ec6a83 100644 --- a/src/structures/StageInstance.js +++ b/src/structures/StageInstance.js @@ -54,9 +54,9 @@ class StageInstance extends Base { /** * Whether or not stage discovery is disabled - * @type {boolean} + * @type {?boolean} */ - this.discoverableDisabled = data.discoverable_disabled; + this.discoverableDisabled = data.discoverable_disabled ?? null; } /** diff --git a/typings/index.d.ts b/typings/index.d.ts index 10685d8a1..fe80b1c27 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -1670,7 +1670,7 @@ export class StageInstance extends Base { public channelId: Snowflake; public topic: string; public privacyLevel: PrivacyLevel; - public discoverableDisabled: boolean; + public discoverableDisabled: boolean | null; public readonly channel: StageChannel | null; public readonly guild: Guild | null; public edit(options: StageInstanceEditOptions): Promise;