Added Optional to VoiceState.channel type
This commit is contained in:
parent
cc2aecd3ff
commit
99b61f973f
@ -59,7 +59,7 @@ class VoiceState:
|
|||||||
Indicates if the user is currently broadcasting video.
|
Indicates if the user is currently broadcasting video.
|
||||||
afk: :class:`bool`
|
afk: :class:`bool`
|
||||||
Indicates if the user is currently in the AFK channel in the guild.
|
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
|
The voice channel that the user is currently connected to. None if the user
|
||||||
is not currently in a voice channel.
|
is not currently in a voice channel.
|
||||||
"""
|
"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user