1
0
Fork 0
mirror of https://github.com/myned/modufur.git synced 2024-11-01 13:02:38 +00:00

Change queue count to exclude current track

This commit is contained in:
Myned 2022-03-04 21:33:16 -06:00
parent 2dfa2da9a0
commit e639dc4727
No known key found for this signature in database
GPG key ID: 33790F979F7A28B8

View file

@ -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 ''}"
)
)