mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-21 18:27:59 -05:00
[Audio] Fix for playlist queue when not playing (#2586)
This commit is contained in:
@@ -1720,6 +1720,8 @@ class Audio(commands.Cog):
|
||||
if not self._player_check(ctx):
|
||||
return await self._embed_msg(ctx, _("Nothing playing."))
|
||||
player = lavalink.get_player(ctx.guild.id)
|
||||
if not player.current:
|
||||
return await self._embed_msg(ctx, _("There's nothing in the queue."))
|
||||
tracklist = []
|
||||
np_song = self._track_creator(player, "np")
|
||||
tracklist.append(np_song)
|
||||
|
||||
Reference in New Issue
Block a user