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" });