aboutsummaryrefslogtreecommitdiff
path: root/bot.js
diff options
context:
space:
mode:
authorpokesudenk <thisis@notarealema.il>2018-02-24 13:26:47 -0500
committerpokesudenk <thisis@notarealema.il>2018-02-24 13:26:47 -0500
commitc54f7c7c85af4c6f268b88033ef9bd84464e3aeb (patch)
tree60ed992ae8550b3e90f5cfc3ecdd2996ed9d1570 /bot.js
parent6947ffa5846d132f406c14489a0072f199a0561b (diff)
parentc6c21db700ff63690ff10b050a3b99c9c034a7a4 (diff)
downloadPokeBot-c54f7c7c85af4c6f268b88033ef9bd84464e3aeb.tar.gz
PokeBot-c54f7c7c85af4c6f268b88033ef9bd84464e3aeb.tar.bz2
PokeBot-c54f7c7c85af4c6f268b88033ef9bd84464e3aeb.zip
Merge branch 'master' of https://github.com/PokeWorld/PokeBot
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 d52bd58..f52bc37 100644
--- a/bot.js
+++ b/bot.js
@@ -133,6 +133,7 @@ bot.on('messageUpdate', (oldMsg, newMsg) => {
});
bot.on('messageDelete', (msg) => {
+ if(!msg.content) return;
try {
const embed = new Discord.RichEmbed()
.setColor(0x00ae86)