1
0
mirror of https://github.com/musix-org/musix-oss synced 2025-07-07 01:20:48 +00:00
This commit is contained in:
MatteZ02
2020-06-04 13:11:14 +03:00
parent 04858d8a27
commit ba319787a5
6 changed files with 9 additions and 17 deletions

View File

@ -10,7 +10,7 @@ module.exports = {
const getThumb = require("video-thumbnail-url");
const queue = client.queue.get(msg.guild.id);
if (!queue) return msg.channel.send(client.messages.noServerQueue);
let songTime = (queue.songs[0].length * 1000).toFixed(0);
let songTime = (queue.songs[0].songLength * 1000).toFixed(0);
let completed = (
queue.connection.dispatcher.streamTime + queue.time
).toFixed(0);