mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-15 11:03:30 +01:00
feat(Guild): Add max_video_channel_users (v13) (#8424)
This commit is contained in:
@@ -363,6 +363,16 @@ class Guild extends AnonymousGuild {
|
|||||||
this.maximumPresences ??= null;
|
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) {
|
if ('approximate_member_count' in data) {
|
||||||
/**
|
/**
|
||||||
* The approximate amount of members the guild has
|
* The approximate amount of members the guild has
|
||||||
|
|||||||
1
typings/index.d.ts
vendored
1
typings/index.d.ts
vendored
@@ -939,6 +939,7 @@ export class Guild extends AnonymousGuild {
|
|||||||
public afkChannelId: Snowflake | null;
|
public afkChannelId: Snowflake | null;
|
||||||
public afkTimeout: number;
|
public afkTimeout: number;
|
||||||
public applicationId: Snowflake | null;
|
public applicationId: Snowflake | null;
|
||||||
|
public maxVideoChannelUsers: number | null;
|
||||||
public approximateMemberCount: number | null;
|
public approximateMemberCount: number | null;
|
||||||
public approximatePresenceCount: number | null;
|
public approximatePresenceCount: number | null;
|
||||||
public available: boolean;
|
public available: boolean;
|
||||||
|
|||||||
Reference in New Issue
Block a user