Added Optional to VoiceState.channel type

This commit is contained in:
Willy
2019-11-15 04:23:15 -05:00
committed by Rapptz
parent cc2aecd3ff
commit 99b61f973f
+1 -1
View File
@@ -59,7 +59,7 @@ class VoiceState:
Indicates if the user is currently broadcasting video.
afk: :class:`bool`
Indicates if the user is currently in the AFK channel in the guild.
channel: :class:`VoiceChannel`
channel: Optional[:class:`VoiceChannel`]
The voice channel that the user is currently connected to. None if the user
is not currently in a voice channel.
"""