fix bug causing a crash

master
Chloe Fontenot 🏳️‍⚧️ 2024-09-07 19:55:58 +07:00
parent eb92685930
commit 87565adf10
1 changed files with 1 additions and 1 deletions

@ -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) {