Бот входит в голосовой канал но во время обработки запроса Play на одной из стадий пишет ошибку?

Ошибка:

Код представлен ниже.

6259b100a9758554116259.png

Вот Ошибка:
"C:\Users\000\PycharmProjects\Discord bot\venv\Scripts\python.exe" "C:/Users/000/PycharmProjects/Discord bot/main.py"
[download] Downloading playlist: universal
[youtube:search] query "universal": Downloading page 1
[youtube:search] playlist universal: Downloading 1 videos
[download] Downloading video 1 of 1
[youtube] bNJW113tbKk: Downloading webpage
[youtube] Downloading just video bNJW113tbKk because of --no-playlist
Exception ignored in:
Traceback (most recent call last):
File "C:\Users\000\PycharmProjects\Discord bot\venv\lib\site-packages\discord\player.py", line 103, in __del__
self.cleanup()
File "C:\Users\000\PycharmProjects\Discord bot\venv\lib\site-packages\discord\player.py", line 154, in cleanup
proc = self._process
AttributeError: 'FFmpegPCMAudio' object has no attribute '_process'
Ignoring exception in command play:
Traceback (most recent call last):
File "C:\Users\000\PycharmProjects\Discord bot\venv\lib\site-packages\discord\ext\commands\core.py", line 85, in wrapped
ret = await coro(*args, **kwargs)
File "C:\Users\000\PycharmProjects\Discord bot\main.py", line 25, in play
vc.play(discord.FFmpegPCMAudio(executable="FFmpeg//ffmpeg.exe", source=link, **FFMPEG_OPTIONS))
TypeError: FFmpegPCMAudio.__init__() got an unexpected keyword argument 'before.options'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\000\PycharmProjects\Discord bot\venv\lib\site-packages\discord\ext\commands\bot.py", line 939, in invoke
await ctx.command.invoke(ctx)
File "C:\Users\000\PycharmProjects\Discord bot\venv\lib\site-packages\discord\ext\commands\core.py", line 863, in invoke
await injected(*ctx.args, **ctx.kwargs)
File "C:\Users\000\PycharmProjects\Discord bot\venv\lib\site-packages\discord\ext\commands\core.py", line 94, in wrapped
raise CommandInvokeError(exc) from exc
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: TypeError: FFmpegPCMAudio.__init__() got an unexpected keyword argument 'before.options'
[download] Finished downloading playlist: universal
  • Вопрос задан
  • 439 просмотров
Пригласить эксперта
Ответы на вопрос 1
@NoGrisha
Точка.
Я так понимаю не стоит FFMPEG.Загуглите как его установить. В интернете много таких туториалов
Ответ написан
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы