From bd33ebb507eab36bc2219103dbd1e0217b9f38c0 Mon Sep 17 00:00:00 2001 From: Shubham Parihar Date: Thu, 20 Jan 2022 01:07:05 +0530 Subject: [PATCH] docs(StageInstance): deprecate discoverableDisabled (#7179) --- packages/discord.js/src/structures/StageInstance.js | 1 + packages/discord.js/typings/index.d.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/discord.js/src/structures/StageInstance.js b/packages/discord.js/src/structures/StageInstance.js index 47c43277d..883ee5476 100644 --- a/packages/discord.js/src/structures/StageInstance.js +++ b/packages/discord.js/src/structures/StageInstance.js @@ -57,6 +57,7 @@ class StageInstance extends Base { /** * Whether or not stage discovery is disabled * @type {?boolean} + * @deprecated See https://github.com/discord/discord-api-docs/pull/4296 for more information */ this.discoverableDisabled = data.discoverable_disabled; } else { diff --git a/packages/discord.js/typings/index.d.ts b/packages/discord.js/typings/index.d.ts index 196a7ea36..c7ddec77d 100644 --- a/packages/discord.js/typings/index.d.ts +++ b/packages/discord.js/typings/index.d.ts @@ -2044,6 +2044,7 @@ export class StageInstance extends Base { public channelId: Snowflake; public topic: string; public privacyLevel: StageInstancePrivacyLevelKey; + /** @deprecated See https://github.com/discord/discord-api-docs/pull/4296 for more information */ public discoverableDisabled: boolean | null; public readonly channel: StageChannel | null; public readonly guild: Guild | null;