return playlist

This commit is contained in:
Snowflake107 2021-06-14 12:33:32 +05:45
parent d27b9f8180
commit d5e3f6225c

View file

@ -337,6 +337,8 @@ class DiscordPlayer extends EventEmitter<PlayerEvents> {
})
);
}
return { playlist: playlist, tracks: playlist.tracks };
}
default:
return { playlist: null, tracks: [] };