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