music: fix hopefully

This commit is contained in:
Cynthia Foxwell 2023-09-12 22:33:34 -06:00
parent 026047a7c9
commit a75cb21c8e
1 changed files with 5 additions and 5 deletions

View File

@ -226,7 +226,7 @@ async function enqueue({
});
}
title = parseHtmlEntities(info?.title);
title = info?.title;
length = info?.duration * 1000;
thumbnail = info?.thumbnailUrl;
@ -307,10 +307,10 @@ async function enqueue({
fields: [
{
name: "Title",
value: (title && title != url
? `[${title}](${url})`
: url
).substring(0, 1024),
value: (title !== url ? `[${title}](${url})` : url).substring(
0,
1024
),
inline: true,
},
{