better in vc detection
This commit is contained in:
parent
a8480af667
commit
10d46419df
@ -132,7 +132,7 @@ async def play(ctx, *arg):
|
|||||||
bot.queue.enqueue(yt)
|
bot.queue.enqueue(yt)
|
||||||
await ctx.send('added {0} to queue'.format(yt.title))
|
await ctx.send('added {0} to queue'.format(yt.title))
|
||||||
|
|
||||||
if(ctx.voice_client.is_playing()):
|
if(ctx.voice_client.is_connected()):
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
await bot.start_playing(ctx)
|
await bot.start_playing(ctx)
|
||||||
|
Loading…
Reference in New Issue
Block a user