diff --git a/src/Player.ts b/src/Player.ts index e43139e..c91d60d 100644 --- a/src/Player.ts +++ b/src/Player.ts @@ -232,8 +232,8 @@ export class Player extends EventEmitter { if (data.length) return data[0]; }) ); - - tracks = tracks.filter(f => !!f); + + tracks = tracks.filter((f) => !!f); if (!tracks.length) return void this.emit(PlayerEvents.NO_RESULTS, message, query); const pl = { diff --git a/src/Structures/Queue.ts b/src/Structures/Queue.ts index 0a173f2..a8fa7a5 100644 --- a/src/Structures/Queue.ts +++ b/src/Structures/Queue.ts @@ -161,7 +161,7 @@ export class Queue extends EventEmitter { const streamTime = this.voiceConnection?.dispatcher?.streamTime + this.additionalStreamTime || 0; if (NC && VW) return streamTime * (NC + VW); - return NC ? streamTime * NC : VW ? (streamTime * VW) : streamTime; + return NC ? streamTime * NC : VW ? streamTime * VW : streamTime; } /**