From e20a21855c627c684bce6b57c1f77d3c2f80fd8d Mon Sep 17 00:00:00 2001 From: tavo-wasd Date: Sun, 31 Mar 2024 11:39:50 -0600 Subject: [PATCH] fomrat --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index e213add..4910fa5 100644 --- a/main.py +++ b/main.py @@ -46,7 +46,7 @@ async def add_to_queue(ctx, query): if confidence >= 70 and song_path: # Adjust confidence threshold as needed song_name = os.path.relpath(song_path, start=songs_dir) # Get the song name relative to songs_dir queued_songs.append((song_path, song_name)) - await ctx.send(f"Added to queue: {song_name}") + await ctx.send(f"**Added to queue:** `{song_name}`") else: await ctx.send("Sorry, couldn't find a match for that song.") @@ -70,7 +70,7 @@ async def play_queued_songs(ctx, voice_channel): voice_client = await voice_channel.connect() while queued_songs: song_path, song_name = queued_songs.pop(0) # Get the first song in the queue - await ctx.send(f"Now playing: {song_name}") + await ctx.send(f"**Now playing:** `{song_name}`") voice_client.play(discord.FFmpegPCMAudio(song_path)) while voice_client.is_playing(): await asyncio.sleep(1)