Browse Source

Added Optional to VoiceState.channel type

pull/2459/head
Willy 6 years ago
committed by Rapptz
parent
commit
99b61f973f
  1. 2
      discord/member.py

2
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.
"""

Loading…
Cancel
Save