Ещё костыль

This commit is contained in:
JonnyBro 2022-01-05 12:21:04 +05:00
parent 62661fd36f
commit 5ce51b8058

View file

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