Skip to content

Commit

Permalink
Improve music skip embed
Browse files Browse the repository at this point in the history
  • Loading branch information
jackra1n committed Jan 27, 2024
1 parent 4ef83be commit 606d324
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bot/cogs/music.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,10 @@ async def skip(self, ctx: commands.Context, amount: int = 1):
for _ in range(amount - 1):
await player.queue.delete(0)
await player.skip()
embed = discord.Embed(title='⏭️ Skipped', color=EMBED_COLOR)
embed = discord.Embed(title=f'⏭️ Skipped {amount}', color=EMBED_COLOR)
if player.current:
embed.description = f'Now playing: **[{player.current}]({player.current.uri})**'
embed.set_footer(text=f'By: {ctx.author}', icon_url=ctx.author.avatar.url)
await ctx.send(embed=embed, delete_after=30)

@commands.hybrid_command(aliases=['disconnect', 'leave'])
Expand Down

0 comments on commit 606d324

Please sign in to comment.