From 87565adf100dc3f0eae9a58a87cf7264104623cc Mon Sep 17 00:00:00 2001 From: Caleb Fontenot Date: Sat, 7 Sep 2024 19:55:58 -0500 Subject: [PATCH] fix bug causing a crash --- main.cjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {