diff --git a/src/commands/music/play.ts b/src/commands/music/play.ts index 68090c5..7b0f34e 100644 --- a/src/commands/music/play.ts +++ b/src/commands/music/play.ts @@ -193,8 +193,7 @@ export default { .slice(0, pos) .reduce((total, t) => { if (total === 0) { - // TODO: First track, already playing, we have to substract the already elapsed time - return t.durationMS; + return queue.dispatcher ? t.durationMS - queue.dispatcher.streamTime : t.durationMS; } return total + t.durationMS; }, 0),