fuck you javascript
This commit is contained in:
parent
0e6b8ac8a4
commit
ae03e620a0
6
main.cjs
6
main.cjs
@ -134,7 +134,7 @@ function replyMessage(message, correctedMessage, abbrsUsed) {
|
||||
client.on('messageCreate', message => {
|
||||
console.log(typeof(undefined) === undefined);
|
||||
console.log(typeof(message));
|
||||
if (typeof(message) === undefined) {
|
||||
if (typeof(message) == "undefined") {
|
||||
return;
|
||||
}
|
||||
if (message.author.id == "1091120267851485215") {
|
||||
@ -153,9 +153,7 @@ client.on('messageCreate', message => {
|
||||
|
||||
client.on('messageUpdate', (undefined, message) => {
|
||||
//checkMessage(newMessage, false);
|
||||
console.log(typeof(undefined) === undefined);
|
||||
console.log(typeof(message));
|
||||
if (typeof(message) === undefined) {
|
||||
if (typeof(message) == "undefined") {
|
||||
return;
|
||||
}
|
||||
if (message.author.id == "1091120267851485215") {
|
||||
|
Loading…
Reference in New Issue
Block a user