From 4f50bb0389770061deb03e44be818dfe3120fc3b Mon Sep 17 00:00:00 2001 From: rooki Date: Tue, 28 Oct 2025 17:37:27 +0100 Subject: [PATCH] Enhance formatting consistency and readability in `starboard.listener.ts`. Optimize error handling and indentation. --- src/modules/starboard/starboard.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/starboard/starboard.ts b/src/modules/starboard/starboard.ts index 4161c92..ad31f42 100644 --- a/src/modules/starboard/starboard.ts +++ b/src/modules/starboard/starboard.ts @@ -73,6 +73,7 @@ export const extractEmbedAndFilesFromMessage: ( url: `https://discord.com/users/${member.id}`, }) .setURL(message.url) + .setTimestamp(message.editedTimestamp ?? message.createdTimestamp) .setDescription(message.content.length > 0 ? message.content : null); const files: AttachmentBuilder[] = []; const imageOrGif = await getImageOrGifEmbed(message);