Add the position in the queue to the embed
This commit is contained in:
parent
43fe8c3a67
commit
acc402297b
|
@ -113,6 +113,7 @@ class YoutubeDLSource(discord.FFmpegPCMAudio):
|
||||||
# Fill in the simple things
|
# Fill in the simple things
|
||||||
embed.add_field(name='Title', value=self.title, inline=False)
|
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='Requester', value=self.requester.display_name, inline=False)
|
||||||
|
embed.add_field(name='Place in Queue', value=str(self.playlist.count))
|
||||||
if self.thumbnail:
|
if self.thumbnail:
|
||||||
embed.set_thumbnail(url=self.thumbnail)
|
embed.set_thumbnail(url=self.thumbnail)
|
||||||
# Get the current length of the song and display this
|
# Get the current length of the song and display this
|
||||||
|
|
Loading…
Reference in a new issue