Only send 'Queued:' if currently playing
This commit is contained in:
parent
002111df8e
commit
d14b40d9f7
|
@ -64,7 +64,8 @@ class Music(commands.Cog):
|
||||||
title = data.get('title')
|
title = data.get('title')
|
||||||
url = data.get('url')
|
url = data.get('url')
|
||||||
await self.queue.put((ctx, url, title))
|
await self.queue.put((ctx, url, title))
|
||||||
await ctx.send(f"Queued: {title}")
|
if ctx.voice_client.is_playing():
|
||||||
|
await ctx.send(f"Queued: {title}")
|
||||||
|
|
||||||
@commands.command()
|
@commands.command()
|
||||||
async def stop(self, ctx):
|
async def stop(self, ctx):
|
||||||
|
|
Loading…
Reference in New Issue