From b6aa69edd234e8e52bdae48330fc05242397d155 Mon Sep 17 00:00:00 2001
From: DaviDev <97841570+DaviisDev@users.noreply.github.com>
Date: Sun, 8 Sep 2024 11:27:19 -0300
Subject: [PATCH] Update gsmarena.js
---
commands/gsmarena.js | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
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) {