diff --git a/main.cjs b/main.cjs index 4c42209..a81cb2e 100644 --- a/main.cjs +++ b/main.cjs @@ -150,7 +150,7 @@ client.on('messageCreate', message => { }); -client.on('messageUpdate', (undefined, newMessage) => { +client.on('messageUpdate', (undefined, message) => { //checkMessage(newMessage, false); console.log(typeof(message)); if (typeof(message) === undefined) {