From d5e3f6225c7de9adf90d6468a7cdf45f0b8edf6c Mon Sep 17 00:00:00 2001 From: Snowflake107 Date: Mon, 14 Jun 2021 12:33:32 +0545 Subject: [PATCH] return playlist --- src/Player.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Player.ts b/src/Player.ts index 05342d7..539fda0 100644 --- a/src/Player.ts +++ b/src/Player.ts @@ -337,6 +337,8 @@ class DiscordPlayer extends EventEmitter { }) ); } + + return { playlist: playlist, tracks: playlist.tracks }; } default: return { playlist: null, tracks: [] };