diff --git a/main.cjs b/main.cjs index a1f519f..4c42209 100644 --- a/main.cjs +++ b/main.cjs @@ -132,6 +132,7 @@ function replyMessage(message, correctedMessage, abbrsUsed) { } client.on('messageCreate', message => { + console.log(typeof(message)); if (typeof(message) === undefined) { return; } @@ -151,6 +152,7 @@ client.on('messageCreate', message => { client.on('messageUpdate', (undefined, newMessage) => { //checkMessage(newMessage, false); + console.log(typeof(message)); if (typeof(message) === undefined) { return; }