feat(Guild): Add max_stage_video_channel_users

#8422 djs
This commit is contained in:
March 7th
2023-01-06 18:32:11 +07:00
parent aa04fd7311
commit beee94c9bc
2 changed files with 11 additions and 0 deletions

View File

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