From 9e187a4d2bc1c2e833bc1620ffbd304fa3aa4192 Mon Sep 17 00:00:00 2001 From: Snowflake107 Date: Mon, 10 May 2021 14:57:10 +0545 Subject: [PATCH] prettier --- src/Player.ts | 4 ++-- src/Structures/Queue.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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; } /**