mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 03:53:29 +01:00
feat(Guild): Add max_stage_video_channel_users (#8422)
feat(Guild): add `max_stage_video_channel_users`
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user