mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-07 11:48:55 -05:00
[Audio] Fix for playlist queue when not playing (#2586)
This commit is contained in:
parent
bb8ce43cc0
commit
005123a371
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user