mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 08:47:22 +00:00
feat(bot,types): add Guild.maxStageVideoChannelUsers (#2935)
Closes: https://github.com/discordeno/discordeno/issues/2927
This commit is contained in:
@@ -20,6 +20,7 @@ export function transformGuild(bot: Bot, payload: { guild: DiscordGuild } & { sh
|
||||
maxMembers: payload.guild.max_members,
|
||||
maxPresences: payload.guild.max_presences ?? undefined,
|
||||
maxVideoChannelUsers: payload.guild.max_video_channel_users,
|
||||
maxStageVideoChannelUsers: payload.guild.max_stage_video_channel_users,
|
||||
mfaLevel: payload.guild.mfa_level,
|
||||
name: payload.guild.name,
|
||||
nsfwLevel: payload.guild.nsfw_level,
|
||||
|
||||
@@ -519,6 +519,8 @@ export interface DiscordGuild {
|
||||
premium_subscription_count?: number
|
||||
/** The maximum amount of users in a video channel */
|
||||
max_video_channel_users?: number
|
||||
/** Maximum amount of users in a stage video channel */
|
||||
max_stage_video_channel_users?: number
|
||||
/** Approximate number of members in this guild, returned from the GET /guilds/id endpoint when with_counts is true */
|
||||
approximate_member_count?: number
|
||||
/** Approximate number of non-offline members in this guild, returned from the GET /guilds/id endpoint when with_counts is true */
|
||||
|
||||
Reference in New Issue
Block a user