Browse Source

Fix typo in voice_client.py

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

2
discord/voice_client.py

@ -592,7 +592,7 @@ class VoiceClient(VoiceProtocol):
raise ClientException('Already playing audio.')
if not isinstance(source, AudioSource):
raise TypeError(f'source must an AudioSource not {source.__class__.__name__}')
raise TypeError(f'source must be an AudioSource not {source.__class__.__name__}')
if not self.encoder and not source.is_opus():
self.encoder = opus.Encoder()

Loading…
Cancel
Save