some minor changes

This commit is contained in:
bacon
2024-03-07 22:07:06 +03:00
parent 73cf9f3c6e
commit 84f4491861
7 changed files with 11 additions and 11 deletions

View File

@@ -10,7 +10,7 @@ async def play_audio(audio, bot, vc):
await sleep(1)
vp = await vc.connect()
if not vp.is_playing():
vp.play(FFmpegOpusAudio(f'{audio}', executable='ffmpeg'), after=lambda e: print('done', e))
vp.play(FFmpegOpusAudio(f'{audio}'), after=lambda e: print('done', e))
while vp.is_playing():
await sleep(0.5)
await sleep(1)