some minor changes
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user