Browse Source

Fix messageContent error

master
Abheek Dhawan 4 years ago
parent
commit
1fab64e7c9
  1. 3
      index.js

3
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)

Loading…
Cancel
Save