fix bug causing a crash

This commit is contained in:
Chloe Fontenot 🏳️‍⚧️ 2024-09-07 19:55:58 -05:00
parent eb92685930
commit 87565adf10

View File

@ -150,7 +150,7 @@ client.on('messageCreate', message => {
}); });
client.on('messageUpdate', (undefined, newMessage) => { client.on('messageUpdate', (undefined, message) => {
//checkMessage(newMessage, false); //checkMessage(newMessage, false);
console.log(typeof(message)); console.log(typeof(message));
if (typeof(message) === undefined) { if (typeof(message) === undefined) {