From de466565014c485c58e4d63bc4ec030b9f544c0f Mon Sep 17 00:00:00 2001 From: Parker Date: Mon, 13 May 2024 15:29:08 -0500 Subject: [PATCH] Show the correct artwork on track removal --- code/cogs/remove.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/cogs/remove.py b/code/cogs/remove.py index 0f1a8f3..6234d67 100644 --- a/code/cogs/remove.py +++ b/code/cogs/remove.py @@ -41,6 +41,7 @@ class Remove(commands.Cog): index = number - 1 removed_title = player.queue[index].title removed_url = player.queue[index].uri + removed_artwork = player.queue[index].artwork_url player.queue.pop(index) embed = discord.Embed( @@ -48,7 +49,7 @@ class Remove(commands.Cog): description=f"**Song Removed - [{removed_title}]({removed_url})**\n\nIssued by: {interaction.user.mention}", color=BOT_COLOR, ) - embed.set_thumbnail(url=player.current.artwork_url) + embed.set_thumbnail(url=removed_artwork) embed.set_footer( text=datetime.datetime.now(datetime.timezone.utc).strftime( "%Y-%m-%d %H:%M:%S"