try fix nowplaying duration
This commit is contained in:
parent
19f43c8d13
commit
644557d683
2
index.js
2
index.js
|
@ -149,7 +149,7 @@ client.on('messageCreate', message => {
|
|||
if (!checkQueue(message)) return;
|
||||
let queue = distube.getQueue(message);
|
||||
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)) {
|
||||
|
|
Loading…
Reference in New Issue