From de18346d64f1fd7a0b1ae764580e01654ef24e7d Mon Sep 17 00:00:00 2001 From: BarsTiger Date: Tue, 13 Apr 2021 20:57:31 +0300 Subject: [PATCH] 1 --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 3dbd543..85022c0 100644 --- a/main.py +++ b/main.py @@ -89,7 +89,7 @@ class Music(commands.Cog): async with ctx.typing(): player = await YTDLSource.from_url(url, loop=self.bot.loop, stream=True) - ctx.voice_client.play(player, after=lambda e: print('Player error: %s' % e) if e else None) + ctx.voice_client.play("ffmpeg.exe", after=lambda e: print('Player error: %s' % e) if e else None) await ctx.send('Now playing: {}'.format(player.title))