From 50afac4815b5fbb5c7ad03c8de1d3c76df0ba088 Mon Sep 17 00:00:00 2001 From: Akhil Pillai Date: Sun, 15 Dec 2024 09:18:35 -0800 Subject: [PATCH] try adding description to embed --- src/events/messageDelete.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/events/messageDelete.ts b/src/events/messageDelete.ts index 1af4d04..75d5a3e 100644 --- a/src/events/messageDelete.ts +++ b/src/events/messageDelete.ts @@ -10,13 +10,14 @@ export const name = Events.MessageDelete; export const once = false; export const execute = async (message: Message) => { - if (!message.inGuild()) return; + if (message.author.bot || !message.inGuild()) return; await ( await getGuildAuditLoggingChannel(message.guild) )?.send({ embeds: [ new EmbedBuilder() .setTitle('Message Deleted') + .setDescription(message.url) .setFields( { name: 'Author',