fix bug causing a crash

master
Chloe Fontenot 🏳️‍⚧️ 2024-09-07 19:59:04 +07:00
parent 192a980f3b
commit b5c75190d6
1 changed files with 1 additions and 1 deletions

@ -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;