diff --git a/src/modules/music.js b/src/modules/music.js index ad17bab..cedf2da 100644 --- a/src/modules/music.js +++ b/src/modules/music.js @@ -533,7 +533,7 @@ command.callback = async function (msg, line) { const timeEnd = formatTime(nowPlaying.length); const timePos = formatTime(position); - const progress = position / length; + const progress = position / nowPlaying.length; const barLength = Math.round(progress * NOWPLAYING_BAR_LENGTH); const bar = `\`[${"=".repeat(barLength)}${" ".repeat(