fuck you javascript

master
Chloe Fontenot 🏳️‍⚧️ 2024-09-07 20:01:12 +07:00
parent 0e6b8ac8a4
commit ae03e620a0
1 changed files with 2 additions and 4 deletions

@ -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") {