From acc402297bb443e8a8a13d4201bcd18d4038ca09 Mon Sep 17 00:00:00 2001 From: Phxntxm Date: Sun, 6 Aug 2017 16:16:43 -0500 Subject: [PATCH] Add the position in the queue to the embed --- cogs/voice_utilities/source.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cogs/voice_utilities/source.py b/cogs/voice_utilities/source.py index 94dc300..6edebe9 100644 --- a/cogs/voice_utilities/source.py +++ b/cogs/voice_utilities/source.py @@ -113,6 +113,7 @@ class YoutubeDLSource(discord.FFmpegPCMAudio): # Fill in the simple things embed.add_field(name='Title', value=self.title, inline=False) embed.add_field(name='Requester', value=self.requester.display_name, inline=False) + embed.add_field(name='Place in Queue', value=str(self.playlist.count)) if self.thumbnail: embed.set_thumbnail(url=self.thumbnail) # Get the current length of the song and display this