aboutsummaryrefslogtreecommitdiff
path: root/bot.js
diff options
context:
space:
mode:
Diffstat (limited to 'bot.js')
-rw-r--r--bot.js1
1 files changed, 1 insertions, 0 deletions
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)