diff --git a/commands/gsmarena.js b/commands/gsmarena.js index 2b751bb..48a9f97 100644 --- a/commands/gsmarena.js +++ b/commands/gsmarena.js @@ -110,9 +110,11 @@ function formatPhone(phone) { .map(([label, key]) => `${label}: ${formattedPhone[key]}`) .join("\n\n"); + const deviceNURL = ${formattedPhone.name} + const deviceImage = phone.picture ? `Device Image: ${phone.picture}` : ''; - return `${formattedPhone.name}\n\n${attributes}\n\n${deviceImage}`; + return `${deviceNURL}\n\n${attributes}\n\n${deviceImage}`; } async function fetchHtml(url) {