From 86f123a91dd335ba371f219040bc12791c45282d Mon Sep 17 00:00:00 2001 From: Unknown Date: Sat, 24 Feb 2018 13:25:22 -0500 Subject: bugfixes --- bot.js | 1 + 1 file changed, 1 insertion(+) (limited to 'bot.js') diff --git a/bot.js b/bot.js index ab11781..57ae4ba 100644 --- a/bot.js +++ b/bot.js @@ -132,6 +132,7 @@ bot.on('messageUpdate', (oldMsg, newMsg) => { }); bot.on('messageDelete', (msg) => { + if(!msg.content) return; try { const embed = new Discord.RichEmbed() .setColor(0x00ae86) -- cgit v1.2.3