aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly <[email protected]>2019-10-27 16:47:29 -0400
committerRapptz <[email protected]>2019-11-15 04:23:15 -0500
commit99b61f973f538737368eaf97c6e3441332e6c4bb (patch)
tree80dbafa578c3f6a555dd4a727c04a4480142a324
parentFix 'purge' method docstring. (diff)
downloaddiscord.py-99b61f973f538737368eaf97c6e3441332e6c4bb.tar.xz
discord.py-99b61f973f538737368eaf97c6e3441332e6c4bb.zip
Added Optional to VoiceState.channel type
-rw-r--r--discord/member.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/member.py b/discord/member.py
index 25de4174..4d3d2749 100644
--- a/discord/member.py
+++ b/discord/member.py
@@ -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.
"""