From e50061a99c08e44a50c87e13296ea511e86e11a8 Mon Sep 17 00:00:00 2001 From: Ashley Graves Date: Wed, 16 Oct 2024 01:33:42 +0200 Subject: [PATCH] guh --- src/commands/utility/file.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/commands/utility/file.js b/src/commands/utility/file.js index 4e4bb9e..66092d0 100644 --- a/src/commands/utility/file.js +++ b/src/commands/utility/file.js @@ -47,9 +47,6 @@ module.exports = { const embeds = []; const data = await (await fetch(`${process.env.SEARXNG_INSTANCE}/search?${queryString}`)).json(); for (const result of data.results) { - if (result.magnetlink) - result.magnetlink = `[${result.magnetlink.slice(0, result.magnetlink.indexOf("&"))}](${process.env.BASE_URL}/magnet/${result.magnetlink})`; - if (result.publishedDate) result.publishedDate = new Date(result.publishedDate).toLocaleDateString('en-us', { weekday: "long", year: "numeric", month: "short", day: "numeric" });