buh
This commit is contained in:
parent
2315b9cd98
commit
54a310fb3d
1 changed files with 3 additions and 3 deletions
|
@ -48,7 +48,8 @@ module.exports = {
|
|||
const footerText = ([
|
||||
result.filesize,
|
||||
`${result.seed} S`,
|
||||
`${result.leech} L`
|
||||
`${result.leech} L`,
|
||||
result.publishedDate ? new Date(result.publishedDate).toLocaleDateString('en-us', { weekday: "long", year: "numeric", month: "short", day: "numeric" }) : ''
|
||||
]).filter(notEmpty).join(" • ");
|
||||
|
||||
const site = result.parsed_url.slice(0, 2).join("://");
|
||||
|
@ -71,8 +72,7 @@ module.exports = {
|
|||
.setDescription(description)
|
||||
.setFooter({
|
||||
text: footerText
|
||||
})
|
||||
.setTimestamp(result.publishedDate ? new Date(result.publishedDate) : null);
|
||||
});
|
||||
|
||||
embeds.push(embed);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue