diff --git a/main.cjs b/main.cjs index db46f1b..bab65e3 100644 --- a/main.cjs +++ b/main.cjs @@ -148,7 +148,7 @@ client.on('messageCreate', message => { client.on('messageUpdate', (undefined, newMessage) => { //checkMessage(newMessage, false); - if (message !== undefined) { + if (typeof message !== undefined) { return; } colonThree(message);