From d14b40d9f7f1a94014294805b6b664040cf6c4d8 Mon Sep 17 00:00:00 2001 From: ekzyis Date: Sat, 25 Sep 2021 02:36:47 +0200 Subject: [PATCH] Only send 'Queued:' if currently playing --- src/bot.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bot.py b/src/bot.py index 66d9b19..702dd73 100644 --- a/src/bot.py +++ b/src/bot.py @@ -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):