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;
|
length = info?.duration * 1000;
|
||||||
thumbnail = info?.thumbnailUrl;
|
thumbnail = info?.thumbnailUrl;
|
||||||
|
|
||||||
|
@ -307,10 +307,10 @@ async function enqueue({
|
||||||
fields: [
|
fields: [
|
||||||
{
|
{
|
||||||
name: "Title",
|
name: "Title",
|
||||||
value: (title && title != url
|
value: (title !== url ? `[${title}](${url})` : url).substring(
|
||||||
? `[${title}](${url})`
|
0,
|
||||||
: url
|
1024
|
||||||
).substring(0, 1024),
|
),
|
||||||
inline: true,
|
inline: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue