Фикс (костыль) отображения 00:00 на радио

This commit is contained in:
JonnyBro 2022-01-05 12:14:57 +05:00
parent c9aff86edf
commit 62661fd36f

View file

@ -45,7 +45,7 @@ class Np extends Command {
.setThumbnail(track.thumbnail)
.addField(message.translate("music/np:T_TITLE"), `[${track.name}](${track.url})`)
.addField(message.translate("music/np:T_CHANNEL"), track.uploader.name ? track.uploader.name : "Отсутствует")
.addField(message.translate("music/np:T_DURATION"), `${queue.formattedCurrentTime} / ${track.formattedDuration}`)
.addField(message.translate("music/np:T_DURATION"), `${queue.formattedCurrentTime} / ${track.formattedDuration !== "00:00" ? track.formattedDuration : message.translate("music/play:LIVE")}`)
.addField(message.translate("music/np:T_CONF"), status(queue))
.setColor(data.config.embed.color)
.setFooter({