mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
docs(StageInstance): deprecate discoverableDisabled (#7179)
This commit is contained in:
@@ -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 {
|
||||
|
||||
1
packages/discord.js/typings/index.d.ts
vendored
1
packages/discord.js/typings/index.d.ts
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user