music: fix hopefully
This commit is contained in:
parent
026047a7c9
commit
a75cb21c8e
1 changed files with 5 additions and 5 deletions
|
@ -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,
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue