From 3c5c5fc27420473b89c6af574e865589cad9eb8b Mon Sep 17 00:00:00 2001 From: scrazzz <70033559+scrazzz@users.noreply.github.com> Date: Mon, 28 Jun 2021 10:10:33 +0300 Subject: [PATCH] Update documentation in voice_client.py --- discord/voice_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/voice_client.py b/discord/voice_client.py index 18cbb7320..9a9cd1c1e 100644 --- a/discord/voice_client.py +++ b/discord/voice_client.py @@ -570,7 +570,7 @@ class VoiceClient(VoiceProtocol): ----------- source: :class:`AudioSource` The audio source we're reading from. - after: Callable[[:class:`Exception`], Any] + after: Callable[[Optional[:class:`Exception`]], Any] The finalizer that is called after the stream is exhausted. This function must have a single parameter, ``error``, that denotes an optional exception that was raised during playing.