better in vc detection

This commit is contained in:
Arthur Lu 2022-08-23 18:21:16 +00:00
parent a8480af667
commit 10d46419df

View File

@ -132,7 +132,7 @@ async def play(ctx, *arg):
bot.queue.enqueue(yt)
await ctx.send('added {0} to queue'.format(yt.title))
if(ctx.voice_client.is_playing()):
if(ctx.voice_client.is_connected()):
pass
else:
await bot.start_playing(ctx)