fix bug causing a crash
This commit is contained in:
parent
192a980f3b
commit
b5c75190d6
2
main.cjs
2
main.cjs
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user