Only send 'Queued:' if currently playing

This commit is contained in:
ekzyis 2021-09-25 02:36:47 +02:00
parent 002111df8e
commit d14b40d9f7
1 changed files with 2 additions and 1 deletions

View File

@ -64,7 +64,8 @@ class Music(commands.Cog):
title = data.get('title')
url = data.get('url')
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()
async def stop(self, ctx):