Browse Source

[types] VoiceChannel and StageChannel bitrate/user_limit is not null

pull/7132/head
Rapptz 4 years ago
parent
commit
eda02c2e91
  1. 8
      discord/types/channel.py

8
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):

Loading…
Cancel
Save