refactor(commands/voice/queue): only show footer when more than one queued
This commit is contained in:
parent
bb70e5d057
commit
d52266300c
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user