aboutsummaryrefslogtreecommitdiff
path: root/code/cogs/remove.py
diff options
context:
space:
mode:
Diffstat (limited to 'code/cogs/remove.py')
-rw-r--r--code/cogs/remove.py19
1 files changed, 13 insertions, 6 deletions
diff --git a/code/cogs/remove.py b/code/cogs/remove.py
index bba07a4..82e5848 100644
--- a/code/cogs/remove.py
+++ b/code/cogs/remove.py
@@ -23,12 +23,20 @@ class Remove(commands.Cog):
title="Nothing Queued",
description="There are no songs in the queue to remove.",
)
- return await interaction.response.send_message(embed=embed)
+ return await interaction.response.send_message(
+ embed=embed, ephemeral=True
+ )
if number > len(player.queue) or number < 1:
+ embed = create_embed(
+ title="Number Out of Range",
+ description=(
+ "The number you entered is outside of the allowed range."
+ " Please try again with a valid song number."
+ ),
+ )
return await interaction.response.send_message(
- "Number out of range - please try again!",
- ephemeral=True,
+ embed=embed, ephemeral=True
)
index = number - 1
@@ -40,9 +48,8 @@ class Remove(commands.Cog):
embed = create_embed(
title="Song Removed from Queue",
description=(
- "**Song Removed -"
- f" [{removed_title}]({removed_url})**\n\nIssued by:"
- f" {interaction.user.mention}"
+ f"**[{removed_title}]({removed_url})** has been unqueued.\n\n"
+ f"Issued by: {interaction.user.mention}"
),
thumbnail=removed_artwork,
)