diff --git a/src/structures/Guild.js b/src/structures/Guild.js index 79dbda8..65782e1 100644 --- a/src/structures/Guild.js +++ b/src/structures/Guild.js @@ -376,6 +376,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/typings/index.d.ts b/typings/index.d.ts index a9fdfc0..b1015b6 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -1320,6 +1320,7 @@ export class Guild extends AnonymousGuild { public large: boolean; public maximumMembers: number | null; public maximumPresences: number | null; + public maxStageVideoChannelUsers: number | null; public maxVideoChannelUsers: number | null; public readonly me: GuildMember | null; public memberCount: number;