From eda02c2e9108291a78c690a90b04c9b5d82d491c Mon Sep 17 00:00:00 2001 From: Rapptz Date: Tue, 29 Jun 2021 02:45:01 -0400 Subject: [PATCH] [types] VoiceChannel and StageChannel bitrate/user_limit is not null --- discord/types/channel.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/discord/types/channel.py b/discord/types/channel.py index ca6c54da6..42be85910 100644 --- a/discord/types/channel.py +++ b/discord/types/channel.py @@ -78,13 +78,13 @@ VideoQualityMode = Literal[1, 2] class _VoiceChannelOptional(TypedDict, total=False): rtc_region: Optional[str] - bitrate: int - user_limit: int video_quality_mode: VideoQualityMode class VoiceChannel(_BaseGuildChannel, _VoiceChannelOptional): type: Literal[2] + bitrate: int + user_limit: int class CategoryChannel(_BaseGuildChannel): @@ -97,13 +97,13 @@ class StoreChannel(_BaseGuildChannel): class _StageChannelOptional(TypedDict, total=False): rtc_region: Optional[str] - bitrate: int - user_limit: int topic: str class StageChannel(_BaseGuildChannel, _StageChannelOptional): type: Literal[13] + bitrate: int + user_limit: int class _ThreadChannelOptional(TypedDict, total=False):