diff --git a/index.js b/index.js index 5630cba..ef7f6a2 100644 --- a/index.js +++ b/index.js @@ -190,6 +190,9 @@ client.on('messageDelete', message => { messageContent = "Unknown"; messageID = "Unknown"; } + if (!messageContent) { + messageContent = "[NONE]"; + } const deleteEmbed = new Discord.MessageEmbed() .setTitle('Message Deleted') .addField('Author', messageAuthor)