From 96880fcc1d609cf74d903054e8b809172c724988 Mon Sep 17 00:00:00 2001 From: akpi816218 Date: Tue, 14 May 2024 19:31:33 -0700 Subject: [PATCH] add msgId to logs --- src/events/messageDelete.ts | 4 ++++ src/events/messageUpdate.ts | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/events/messageDelete.ts b/src/events/messageDelete.ts index 9bdfceb..2b10994 100644 --- a/src/events/messageDelete.ts +++ b/src/events/messageDelete.ts @@ -26,6 +26,10 @@ export const execute = async (message: Message) => { name: 'Channel', value: channelMention(message.channel.id) }, + { + name: 'Message ID', + value: message.id + }, { name: 'Content', value: message.content diff --git a/src/events/messageUpdate.ts b/src/events/messageUpdate.ts index 6bfa92b..2c27fc2 100644 --- a/src/events/messageUpdate.ts +++ b/src/events/messageUpdate.ts @@ -33,6 +33,10 @@ export const execute = async (old: Message, updated: Message) => { name: 'Channel', value: channelMention(updated.channel.id) }, + { + name: 'Message ID', + value: updated.id + }, { name: 'Initial Content', value: old.content