mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-22 21:24:59 +05:00
Фикс (костыль) отображения 00:00 на радио
This commit is contained in:
parent
c9aff86edf
commit
62661fd36f
1 changed files with 1 additions and 1 deletions
|
@ -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}`)
|
.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))
|
.addField(message.translate("music/np:T_CONF"), status(queue))
|
||||||
.setColor(data.config.embed.color)
|
.setColor(data.config.embed.color)
|
||||||
.setFooter({
|
.setFooter({
|
||||||
|
|
Loading…
Reference in a new issue