feat(Guild): Add max_stage_video_channel_users (#8422)

feat(Guild): add `max_stage_video_channel_users`
This commit is contained in:
Jiralite
2023-03-31 23:30:25 +01:00
committed by GitHub
parent db8df104c5
commit 34bc36ac4b
2 changed files with 11 additions and 0 deletions

View File

@@ -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

View File

@@ -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;