From 99b61f973f538737368eaf97c6e3441332e6c4bb Mon Sep 17 00:00:00 2001 From: Willy Date: Sun, 27 Oct 2019 16:47:29 -0400 Subject: [PATCH] Added Optional to VoiceState.channel type --- discord/member.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/member.py b/discord/member.py index 25de41740..4d3d27494 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. """