From 8103b9e526eea5924a9959d90044b3c62c4bc10d Mon Sep 17 00:00:00 2001 From: NoLogicAlan Date: Sat, 23 May 2026 17:30:22 +0300 Subject: [PATCH] fix --- commands/lastfm.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/lastfm.mjs b/commands/lastfm.mjs index fd5b113..2056c47 100644 --- a/commands/lastfm.mjs +++ b/commands/lastfm.mjs @@ -1232,7 +1232,7 @@ export async function run(msg, data) { const link = t.url ? `[${t.name}](${t.url})` : t.name; return `${link} by **${t.artist}** (${matchPct}%)`; }).join("\n"); - embed.addFields([{ name: "Similar Tracks", value: simStr.slice(0, 1024), inline: false }]); + embed.addFields({ name: "Similar Tracks", value: simStr.slice(0, 1024), inline: false }); } embed.setFooter({ text: `Last.fm: ${user.username}` }); @@ -1449,7 +1449,7 @@ export async function run(msg, data) { const link = a.url ? `[${a.name}](${a.url})` : a.name; return `\`${num}.\` ${link} (**${a.playcount}** plays)`; }).join("\n"); - embed.addFields([{ name: `Common Artists (${comparison.commonArtists.length})`, value: commonStr.slice(0, 1024), inline: false }]); + embed.addFields({ name: `Common Artists (${comparison.commonArtists.length})`, value: commonStr.slice(0, 1024), inline: false }); } return msg.reply({ embeds: [embed] });