fix bug causing a crash

This commit is contained in:
Chloe Fontenot 🏳️‍⚧️ 2024-09-07 19:59:04 -05:00
parent 192a980f3b
commit b5c75190d6

View File

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