Fix queue progress, 0 song -> 0 songs

This commit is contained in:
FLGX 2020-01-25 13:26:02 +01:00
parent 5fff2cf5c6
commit e445bb1ec0
No known key found for this signature in database
GPG Key ID: 9632A30A3C5AF65F
1 changed files with 2 additions and 2 deletions

View File

@ -93,14 +93,14 @@ exports.run = (client, message, args) => {
timestamp = "LIVE";
livestream = true;
} else {
timestamp = client.createTimestamp(queue[0].duration);
timestamp = client.createTimestamp(elapsedTime) + '/' + client.createTimestamp(queue[0].duration);
};
embed.addField(`Now playing:`, `**[${queue[0].title}](https://www.youtube.com/watch?v=${queue[0].id})** added by ${queue[0].requestedBy} \`[${timestamp}]\``)
embed.addField(`Up next:`, list);
if(songsInQueue > 1) {
if(songsInQueue > 1 || songsInQueue == 0) {
songsInQueueEnglish = "songs";
}