fix bug causing a crash
This commit is contained in:
parent
b5c75190d6
commit
0e6b8ac8a4
1
main.cjs
1
main.cjs
@ -132,6 +132,7 @@ function replyMessage(message, correctedMessage, abbrsUsed) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
client.on('messageCreate', message => {
|
client.on('messageCreate', message => {
|
||||||
|
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