aboutsummaryrefslogtreecommitdiff
path: root/code/cogs/skip.py
diff options
context:
space:
mode:
Diffstat (limited to 'code/cogs/skip.py')
-rw-r--r--code/cogs/skip.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/code/cogs/skip.py b/code/cogs/skip.py
index 51d466e..ca7f3e0 100644
--- a/code/cogs/skip.py
+++ b/code/cogs/skip.py
@@ -41,6 +41,14 @@ class Skip(commands.Cog):
await player.skip()
+ if not player.current:
+ embed = discord.Embed(
+ title="End of Queue",
+ description=f"All songs in queue have been played. Thank you for using Guava :wave:\n\nIssued by: {interaction.user.mention}",
+ color=BOT_COLOR
+ )
+ return await interaction.response.send_message(embed=embed)
+
# It takes a sec for the new track to be grabbed and played
# So just wait a sec before sending the message
await asyncio.sleep(0.5)