diff --git a/packages/discord.js/src/structures/Guild.js b/packages/discord.js/src/structures/Guild.js index d9ad93925..298fe5b05 100644 --- a/packages/discord.js/src/structures/Guild.js +++ b/packages/discord.js/src/structures/Guild.js @@ -307,6 +307,16 @@ class Guild extends AnonymousGuild { this.maxVideoChannelUsers ??= null; } + if ('max_stage_video_channel_users' in data) { + /** + * The maximum amount of users allowed in a stage video channel. + * @type {?number} + */ + this.maxStageVideoChannelUsers = data.max_stage_video_channel_users; + } else { + this.maxStageVideoChannelUsers ??= null; + } + if ('approximate_member_count' in data) { /** * The approximate amount of members the guild has diff --git a/packages/discord.js/typings/index.d.ts b/packages/discord.js/typings/index.d.ts index f78620bae..d55c057a1 100644 --- a/packages/discord.js/typings/index.d.ts +++ b/packages/discord.js/typings/index.d.ts @@ -1305,6 +1305,7 @@ export class Guild extends AnonymousGuild { public large: boolean; public maximumMembers: number | null; public maximumPresences: number | null; + public maxStageVideoChannelUsers: number | null; public memberCount: number; public members: GuildMemberManager; public mfaLevel: GuildMFALevel;