mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 11:33:30 +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
|
* Whether or not stage discovery is disabled
|
||||||
* @type {?boolean}
|
* @type {?boolean}
|
||||||
|
* @deprecated See https://github.com/discord/discord-api-docs/pull/4296 for more information
|
||||||
*/
|
*/
|
||||||
this.discoverableDisabled = data.discoverable_disabled;
|
this.discoverableDisabled = data.discoverable_disabled;
|
||||||
} else {
|
} 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 channelId: Snowflake;
|
||||||
public topic: string;
|
public topic: string;
|
||||||
public privacyLevel: StageInstancePrivacyLevelKey;
|
public privacyLevel: StageInstancePrivacyLevelKey;
|
||||||
|
/** @deprecated See https://github.com/discord/discord-api-docs/pull/4296 for more information */
|
||||||
public discoverableDisabled: boolean | null;
|
public discoverableDisabled: boolean | null;
|
||||||
public readonly channel: StageChannel | null;
|
public readonly channel: StageChannel | null;
|
||||||
public readonly guild: Guild | null;
|
public readonly guild: Guild | null;
|
||||||
|
|||||||
Reference in New Issue
Block a user