diff --git a/bot.py b/bot.py index 6e9ad70..9feb713 100644 --- a/bot.py +++ b/bot.py @@ -416,12 +416,24 @@ async def skip(ctx): player.stop() await ctx.message.channel.send("Skipped to next song") +@bot.command(brief="Prints the current que") +async def que(ctx): + global titleQue + message = "**Musicbot Que:**\n **[current]** " + titleQue[0] + + for entries in titleQue[1:]: + message = message + "\n" + entries + + await ctx.message.channel.send(message) + + async def checkForNextSong(): global player global playerQue global playerServer global playing + global titleQue while True: if(player != None) and not player.is_playing() and (len(playerQue) > 0):