mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-25 22:55:00 +05:00
dont show track position
This commit is contained in:
parent
e3cc5cfa80
commit
62723c6c71
2 changed files with 2 additions and 4 deletions
|
@ -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();
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue