From 2315b9cd981f8ec3b0fe3a662d3e1ee350e55fff Mon Sep 17 00:00:00 2001 From: Ashley Graves Date: Wed, 16 Oct 2024 00:33:07 +0200 Subject: [PATCH] guh --- src/commands/utility/file.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/utility/file.js b/src/commands/utility/file.js index ee0aa5b..2bb13f0 100644 --- a/src/commands/utility/file.js +++ b/src/commands/utility/file.js @@ -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); }