From eef33649b21b7bf670b007e62fc98d20bcc01e23 Mon Sep 17 00:00:00 2001 From: DevAndromeda <46562212+DevAndromeda@users.noreply.github.com> Date: Fri, 13 Aug 2021 21:29:27 +0545 Subject: [PATCH] feat(Queue): add debug log --- src/Structures/Queue.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Structures/Queue.ts b/src/Structures/Queue.ts index cc7363a..eea4354 100644 --- a/src/Structures/Queue.ts +++ b/src/Structures/Queue.ts @@ -107,6 +107,8 @@ class Queue { } as PlayerOptions, options ); + + this.player.emit("debug", this, `Queue initialized:\n\n${this.player.scanDeps()}`); } /** @@ -599,6 +601,7 @@ class Queue { this.previousTracks.push(track); } + // TODO: remove discord-ytdl-core let stream; if (["youtube", "spotify"].includes(track.raw.source)) { if (track.raw.source === "spotify" && !track.raw.engine) {