docs(StageInstance): deprecate discoverableDisabled (#7179)

This commit is contained in:
Shubham Parihar
2022-01-20 01:07:05 +05:30
committed by GitHub
parent cf25de9373
commit bd33ebb507
2 changed files with 2 additions and 0 deletions

View File

@@ -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 {

View File

@@ -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;