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