diff options
| author | Josh <[email protected]> | 2021-07-05 09:14:07 +1000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-07-04 19:14:07 -0400 |
| commit | f40f80c0dc96056c71aa9848c63edd23c812e3fc (patch) | |
| tree | cf872bc34ed0fa16ddc7e4eb05147b412989d6e7 | |
| parent | Fix Permission serialisation in audit logs (diff) | |
| download | discord.py-f40f80c0dc96056c71aa9848c63edd23c812e3fc.tar.xz discord.py-f40f80c0dc96056c71aa9848c63edd23c812e3fc.zip | |
Fix typo in voice_client.py
| -rw-r--r-- | discord/voice_client.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/voice_client.py b/discord/voice_client.py index 9a9cd1c1..6816fa3e 100644 --- a/discord/voice_client.py +++ b/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() |