feat(Guild): Add max_video_channel_users
This commit is contained in:
parent
47104f8118
commit
bf73ac4b3c
@ -362,6 +362,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
@ -1203,6 +1203,7 @@ export class Guild extends AnonymousGuild {
|
|||||||
public large: boolean;
|
public large: boolean;
|
||||||
public maximumMembers: number | null;
|
public maximumMembers: number | null;
|
||||||
public maximumPresences: number | null;
|
public maximumPresences: number | null;
|
||||||
|
public maxVideoChannelUsers: number | null;
|
||||||
public readonly me: GuildMember | null;
|
public readonly me: GuildMember | null;
|
||||||
public memberCount: number;
|
public memberCount: number;
|
||||||
public members: GuildMemberManager;
|
public members: GuildMemberManager;
|
||||||
|
Loading…
Reference in New Issue
Block a user