From 64919008a5dff78d0d77a0d2b3256cb7f9b77d61 Mon Sep 17 00:00:00 2001 From: ErrorNoInternet Date: Tue, 31 Dec 2024 21:45:28 -0500 Subject: [PATCH] feat(commands/voice): send message when song plays --- commands/voice.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/commands/voice.py b/commands/voice.py index b9f9d08..c31048c 100644 --- a/commands/voice.py +++ b/commands/voice.py @@ -138,11 +138,9 @@ async def queue_or_play(message): not message.guild.voice_client.is_playing() and not message.guild.voice_client.is_paused() ): - await utils.reply(message, f"**0.** {queued.format()}") play_next(message) elif args.now: message.guild.voice_client.stop() - await utils.reply(message, f"**0.** {queued.format()}") else: await utils.reply( message, @@ -293,6 +291,7 @@ def play_next(message, once=False): message.guild.voice_client.play( queued.player, after=lambda e: play_after_callback(e, message, once) ) + client.loop.create_task(message.channel.send(f"**0.** {queued.format()}")) async def ensure_joined(message):