aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorscrazzz <[email protected]>2021-06-28 10:10:33 +0300
committerGitHub <[email protected]>2021-06-28 03:10:33 -0400
commit3c5c5fc27420473b89c6af574e865589cad9eb8b (patch)
tree99b9e201655349246f8c19b7547f58c9e1f54cfd
parentAdd discord.utils.format_dt helper function (diff)
downloaddiscord.py-3c5c5fc27420473b89c6af574e865589cad9eb8b.tar.xz
discord.py-3c5c5fc27420473b89c6af574e865589cad9eb8b.zip
Update documentation in voice_client.py
-rw-r--r--discord/voice_client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/voice_client.py b/discord/voice_client.py
index 18cbb732..9a9cd1c1 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.