diff --git a/commands/Music/np.js b/commands/Music/np.js index 319305ba..31807ecb 100644 --- a/commands/Music/np.js +++ b/commands/Music/np.js @@ -33,7 +33,7 @@ class Np extends Command { .setThumbnail(track.thumbnail) .addField(message.translate("music/np:T_TITLE"), track.name + `\n${track.url}`) .addField(message.translate("music/np:T_CHANNEL"), track.uploader.name ? track.uploader.name : "Отсутствует") - .addField(message.translate("music/np:T_DURATION"), track.formattedDuration) + .addField(message.translate("music/np:T_DURATION"), `${queue.formattedCurrentTime} / ${track.formattedDuration}`) .setColor(data.config.embed.color) .setFooter(data.config.embed.footer) .setTimestamp(); diff --git a/commands/Music/queue.js b/commands/Music/queue.js index 5f311c31..99bc55e3 100644 --- a/commands/Music/queue.js +++ b/commands/Music/queue.js @@ -33,8 +33,6 @@ class Queue extends Command { return message.channel.send(embed); }; - let i = 0; - const FieldsEmbed = new Pagination.FieldsEmbed(); FieldsEmbed.embed @@ -47,7 +45,7 @@ class Queue extends Command { .setChannel(message.channel) .setElementsPerPage(5) .setPageIndicator(true) - .formatField("Очередь", (track) => `${++i}. [${track.name}](${track.url})\n*Добавил ${track.member}*\n`); + .formatField("Очередь", (track) => `[${track.name}](${track.url})\n*Добавил ${track.member}*\n`); FieldsEmbed.build(); }