From ee838709b4686cd8a7832399b1c8a3fe73d41fa0 Mon Sep 17 00:00:00 2001 From: Akhil Pillai Date: Mon, 9 Dec 2024 19:27:36 -0800 Subject: [PATCH] Update messageDelete.ts --- src/events/messageDelete.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/events/messageDelete.ts b/src/events/messageDelete.ts index 2b10994..1af4d04 100644 --- a/src/events/messageDelete.ts +++ b/src/events/messageDelete.ts @@ -20,11 +20,11 @@ export const execute = async (message: Message) => { .setFields( { name: 'Author', - value: userMention(message.author.id) + value: userMention(message.author.id) ?? message.author.id }, { name: 'Channel', - value: channelMention(message.channel.id) + value: channelMention(message.channel.id) ?? message.channel.id }, { name: 'Message ID',