This commit is contained in:
Ashley Graves 2024-10-16 01:23:48 +02:00
parent a85c33a1b5
commit c1cefcc22b

View file

@ -50,6 +50,7 @@ module.exports = {
result.publishedDate = new Date(result.publishedDate).toLocaleDateString('en-us', { weekday: "long", year: "numeric", month: "short", day: "numeric" });
const footerText = ([
result.engine,
result.filesize,
`${result.seed} S`,
`${result.leech} L`,
@ -64,10 +65,9 @@ module.exports = {
const embed = new EmbedBuilder()
.setAuthor({
name: result.engine,
url: result.parsed_url.slice(0, 2).join("://")
name: result.title,
url: result.url
})
.setTitle(result.title)
.setURL(result.url)
.setColor("#cba6f7")
.setDescription(description)