diff --git a/discord/voice_client.py b/discord/voice_client.py index 3faa770c3..8387afb30 100644 --- a/discord/voice_client.py +++ b/discord/voice_client.py @@ -399,6 +399,8 @@ class VoiceClient: try: p = subprocess.Popen(args, stdin=stdin, stdout=subprocess.PIPE) return ProcessPlayer(p, self, after) + except FileNotFoundError as e: + raise ClientException('ffmpeg/avconv was not found in your PATH environment variable') from e except subprocess.SubprocessError as e: raise ClientException('Popen failed: {0.__name__} {1}'.format(type(e), str(e))) from e