Browse Source

Update documentation in voice_client.py

pull/7123/head
scrazzz 4 years ago
committed by GitHub
parent
commit
3c5c5fc274
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      discord/voice_client.py

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

Loading…
Cancel
Save