prettier
This commit is contained in:
parent
c2ff70955f
commit
9e187a4d2b
2 changed files with 3 additions and 3 deletions
|
@ -233,7 +233,7 @@ export class Player extends EventEmitter {
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
|
||||||
tracks = tracks.filter(f => !!f);
|
tracks = tracks.filter((f) => !!f);
|
||||||
if (!tracks.length) return void this.emit(PlayerEvents.NO_RESULTS, message, query);
|
if (!tracks.length) return void this.emit(PlayerEvents.NO_RESULTS, message, query);
|
||||||
|
|
||||||
const pl = {
|
const pl = {
|
||||||
|
|
|
@ -161,7 +161,7 @@ export class Queue extends EventEmitter {
|
||||||
const streamTime = this.voiceConnection?.dispatcher?.streamTime + this.additionalStreamTime || 0;
|
const streamTime = this.voiceConnection?.dispatcher?.streamTime + this.additionalStreamTime || 0;
|
||||||
|
|
||||||
if (NC && VW) return streamTime * (NC + VW);
|
if (NC && VW) return streamTime * (NC + VW);
|
||||||
return NC ? streamTime * NC : VW ? (streamTime * VW) : streamTime;
|
return NC ? streamTime * NC : VW ? streamTime * VW : streamTime;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue