music: large url fixes

This commit is contained in:
Cynthia Foxwell 2023-01-23 18:13:11 -07:00
parent ad141377e7
commit e0b46409f9

View file

@ -290,7 +290,7 @@ async function enqueue({
fields: [ fields: [
{ {
name: "Title", name: "Title",
value: title && title != url ? `[${title}](${url})` : url, value: (title && title != url ? `[${title}](${url})` : url).substring(0, 1024),
inline: true, inline: true,
}, },
{ {
@ -336,7 +336,7 @@ async function enqueue({
fields: [ fields: [
{ {
name: "Title", name: "Title",
value: title ? `[${title}](${url})` : url, value: (title ? `[${title}](${url})` : url).substring(0, 1024),
inline: true, inline: true,
}, },
{ {