From e639dc472772cb871172d973729f87a1b597ea6c Mon Sep 17 00:00:00 2001 From: Myned Date: Fri, 4 Mar 2022 21:33:16 -0600 Subject: [PATCH] Change queue count to exclude current track --- commands/music.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/music.py b/commands/music.py index 441a5a1..b168927 100644 --- a/commands/music.py +++ b/commands/music.py @@ -467,7 +467,7 @@ async def queue(context): .set_author(name="Queue") .set_thumbnail(plugin.d.queue[context.guild_id].track_handle.metadata.thumbnail) .set_footer( - f"{len(plugin.d.queue[context.guild_id]) + 1} track{'s' if len(plugin.d.queue[context.guild_id]) > 1 else ''}" + f"{len(plugin.d.queue[context.guild_id])} track{'s' if len(plugin.d.queue[context.guild_id]) > 1 else ''}" ) )