Запустил бота на хероку, и выбило ошибку после ввода команды play
Что делать подскажите пожалуйста
Ошибка:
2021-08-19T14:02:28.833296+00:00 app[worker.1]: Task exception was never retrieved
2021-08-19T14:02:28.833312+00:00 app[worker.1]: future: exception=OpusNotLoaded()>
2021-08-19T14:02:28.833312+00:00 app[worker.1]: Traceback (most recent call last):
2021-08-19T14:02:28.833314+00:00 app[worker.1]: File "/app/cogs/musik.py", line 156, in player_loop
2021-08-19T14:02:28.833314+00:00 app[worker.1]: self._guild.voice_client.play(source, after = lambda _: self.bot.loop.call_soon_threadsafe(self.next.set))
2021-08-19T14:02:28.833315+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/discord/voice_client.py", line 564, in play
2021-08-19T14:02:28.833315+00:00 app[worker.1]: self.encoder = opus.Encoder()
2021-08-19T14:02:28.833326+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/discord/opus.py", line 289, in __init__
2021-08-19T14:02:28.833326+00:00 app[worker.1]: raise OpusNotLoaded()
2021-08-19T14:02:28.833327+00:00 app[worker.1]: discord.opus.OpusNotLoaded
-
Вопрос задан
-
188 просмотров