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