fix: added whole playlists to queue is now functional

Signed-off-by: limited_dev <loginakkisativ@gmail.com>
This commit is contained in:
limited_dev 2023-05-18 03:26:43 +02:00
parent e7001f9946
commit fe4e47744c

View file

@ -113,7 +113,7 @@ object MusicManager {
if (!silent)
ctx.respond {
this.embeds.add(
MessageUtil.getEmbedWithImage(
MessageUtil.getEmbed(
Color(0x52E01A),
"${type.s} playlist from link",
"**${item.tracks.first().info.title}**\n*${item.playlistInfo.name}*\nby ${item.tracks.first().info.author} ;: ${
@ -121,8 +121,7 @@ object MusicManager {
item.tracks.first().info.length
)
}\n" +
">>>${item.tracks.first().info.uri}", u.username + "#" + u.discriminator,
"https://img.youtube.com/vi/" + UrlUtil.getYtThumbnailUrl(item.track.info.uri) + "/maxresdefault.jpg"
">>>${item.tracks.first().info.uri}", u.username + "#" + u.discriminator
)
)