mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-25 14:44:58 +05:00
Показывать позицию трека в очереди
This commit is contained in:
parent
9b4a1535ec
commit
9c2973c7ad
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ class Queue extends Command {
|
||||||
.setElementsPerPage(5)
|
.setElementsPerPage(5)
|
||||||
.setDeleteOnTimeout(true)
|
.setDeleteOnTimeout(true)
|
||||||
.setPageIndicator(true)
|
.setPageIndicator(true)
|
||||||
.formatField("Очередь", (track) => `[${track.name}](${track.url})\n*Добавил ${track.member}*\n`)
|
.formatField("Очередь", (track) => `${ queue.songs.indexOf(track) + 1 } [${track.name}](${track.url})\n*Добавил ${track.member}*\n`)
|
||||||
.build();
|
.build();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue