feat(bot,types): add Guild.maxStageVideoChannelUsers (#2935)

Closes: https://github.com/discordeno/discordeno/issues/2927
This commit is contained in:
ITOH
2023-04-01 19:18:26 +00:00
committed by GitHub
parent 6890b34d84
commit bcfeb5b6ae
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -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,
+2
View File
@@ -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 */