nice
This commit is contained in:
parent
a85c33a1b5
commit
c1cefcc22b
1 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue