diff --git a/src/structures/Guild.js b/src/structures/Guild.js index 347b3c987f1e..ff06ea5ed18c 100644 --- a/src/structures/Guild.js +++ b/src/structures/Guild.js @@ -363,6 +363,16 @@ class Guild extends AnonymousGuild { this.maximumPresences ??= null; } + if ('max_video_channel_users' in data) { + /** + * The maximum amount of users allowed in a video channel. + * @type {?number} + */ + this.maxVideoChannelUsers = data.max_video_channel_users; + } else { + this.maxVideoChannelUsers ??= 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 5da6855a783f..d67f2fd44250 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -939,6 +939,7 @@ export class Guild extends AnonymousGuild { public afkChannelId: Snowflake | null; public afkTimeout: number; public applicationId: Snowflake | null; + public maxVideoChannelUsers: number | null; public approximateMemberCount: number | null; public approximatePresenceCount: number | null; public available: boolean;