aboutsummaryrefslogtreecommitdiff
path: root/code/cogs/remove.py
diff options
context:
space:
mode:
authorParker <contact@pkrm.dev>2024-11-29 01:36:06 -0600
committerParker <contact@pkrm.dev>2024-11-29 01:36:06 -0600
commit4e8030eca4b1f4028268683ccfc7b481b1608dde (patch)
treed208e1c582733bd82993715b9cbc9266aca5390c /code/cogs/remove.py
parente2916fb0aaf5ae7c6306feb7bc13405aabb29ae6 (diff)
Largely embed wording changes + other small tweaks + combine pause commands
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,
)