diff options
| author | Rapptz <[email protected]> | 2021-06-29 02:45:01 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2021-06-29 02:45:01 -0400 |
| commit | eda02c2e9108291a78c690a90b04c9b5d82d491c (patch) | |
| tree | 5be47820365d542afd004facf6ab67b8fb53fcca /discord | |
| parent | Fix typing linting error in threads (diff) | |
| download | discord.py-eda02c2e9108291a78c690a90b04c9b5d82d491c.tar.xz discord.py-eda02c2e9108291a78c690a90b04c9b5d82d491c.zip | |
[types] VoiceChannel and StageChannel bitrate/user_limit is not null
Diffstat (limited to 'discord')
| -rw-r--r-- | discord/types/channel.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/discord/types/channel.py b/discord/types/channel.py index ca6c54da..42be8591 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): |