fix bug causing a crash
This commit is contained in:
parent
eb92685930
commit
87565adf10
2
main.cjs
2
main.cjs
@ -150,7 +150,7 @@ client.on('messageCreate', message => {
|
|||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
client.on('messageUpdate', (undefined, newMessage) => {
|
client.on('messageUpdate', (undefined, message) => {
|
||||||
//checkMessage(newMessage, false);
|
//checkMessage(newMessage, false);
|
||||||
console.log(typeof(message));
|
console.log(typeof(message));
|
||||||
if (typeof(message) === undefined) {
|
if (typeof(message) === undefined) {
|
||||||
|
Loading…
Reference in New Issue
Block a user