fix bug causing a crash

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

View File

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