refactor(commands/voice/queue): only show footer when more than one queued

This commit is contained in:
Ryan 2025-01-06 19:26:40 -05:00
parent bb70e5d057
commit d52266300c
Signed by: ErrorNoInternet
GPG Key ID: 2486BFB7B1E6A4A3

View File

@ -196,7 +196,7 @@ async def queue_or_play(message, edited=False):
description=description, description=description,
color=constants.EMBED_COLOR, color=constants.EMBED_COLOR,
) )
if formatted_duration: if formatted_duration and len(players[message.guild.id].queue) > 1:
e.set_footer(text=f"{formatted_duration} in total") e.set_footer(text=f"{formatted_duration} in total")
return e return e