From c596f314e11647cb4b2935798b21a28cf57e9287 Mon Sep 17 00:00:00 2001 From: JonnyBro Date: Thu, 6 Jan 2022 18:24:57 +0500 Subject: [PATCH] =?UTF-8?q?=D0=A4=D0=B8=D0=BA=D1=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- commands/Music/np.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/Music/np.js b/commands/Music/np.js index a8d8f625..e223952c 100644 --- a/commands/Music/np.js +++ b/commands/Music/np.js @@ -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 !== ("00:00" || "Live") ? track.formattedDuration : message.translate("music/play:LIVE")}`) + .addField(message.translate("music/np:T_DURATION"), `${queue.formattedCurrentTime} / ${track.duration > 1 ? track.formattedDuration : message.translate("music/play:LIVE")}`) .addField(message.translate("music/np:T_CONF"), status(queue)) .setColor(data.config.embed.color) .setFooter({