mirror of
https://github.com/discordjs/discord.js.git
synced 2026-06-02 17:10:08 +00:00
fix(StageInstance): Ensure discoverableDisabled is not undefined (#6395)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user