try fix nowplaying duration

This commit is contained in:
minish 2023-09-27 19:27:03 -04:00
parent 19f43c8d13
commit 644557d683
Signed by: min
GPG Key ID: FEECFF24EF0CE9E9
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@ client.on('messageCreate', message => {
if (!checkQueue(message)) return; if (!checkQueue(message)) return;
let queue = distube.getQueue(message); let queue = distube.getQueue(message);
let song = queue.songs[0]; let song = queue.songs[0];
message.channel.send(`Currently playing \`${song.name}\`\nDuration: \`${queue.formattedCurrentTime}\` / \`${queue.formattedDuration}\``); message.channel.send(`Currently playing \`${song.name}\`\nDuration: \`${song.formattedCurrentTime}\` / \`${song.formattedDuration}\``);
} }
if (['seek', 'jump', 'j'].includes(command)) { if (['seek', 'jump', 'j'].includes(command)) {