aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--code/cogs/remove.py3
1 files changed, 2 insertions, 1 deletions
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"