diff options
author | Parker <contact@pkrm.dev> | 2024-05-13 15:29:08 -0500 |
---|---|---|
committer | Parker <contact@pkrm.dev> | 2024-05-13 15:29:08 -0500 |
commit | de466565014c485c58e4d63bc4ec030b9f544c0f (patch) | |
tree | 2745e1a0ec759e9840be8ca9929c09be0b7e4226 /code | |
parent | 663cc250c9105f6f8d9ef50d5f8629621a766d0b (diff) |
Show the correct artwork on track removal
Diffstat (limited to 'code')
-rw-r--r-- | code/cogs/remove.py | 3 |
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" |