This commit is contained in:
Ashley Graves 2024-10-16 00:33:07 +02:00
parent 7d2b9f51f6
commit 2315b9cd98

View file

@ -72,7 +72,7 @@ module.exports = {
.setFooter({
text: footerText
})
.setTimestamp(new Date(result.publishedDate));
.setTimestamp(result.publishedDate ? new Date(result.publishedDate) : null);
embeds.push(embed);
}