|
|
@ -136,11 +136,12 @@ client.on('messageCreate', message => {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
//checkMessage(message, false);
|
|
|
|
//checkMessage(message, false);
|
|
|
|
colonThree(message);
|
|
|
|
colonThree(message);
|
|
|
|
|
|
|
|
tylerStop(message);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
client.on('messageUpdate', (undefined, newMessage) => {
|
|
|
|
client.on('messageUpdate', (undefined, newMessage) => {
|
|
|
|
//checkMessage(newMessage, false);
|
|
|
|
//checkMessage(newMessage, false);
|
|
|
|
|
|
|
|
tylerStop(message);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
function getMatchingPhrase(inputString, targetCharacter) {
|
|
|
|
function getMatchingPhrase(inputString, targetCharacter) {
|
|
|
@ -181,7 +182,6 @@ global.checkMessage = function checkMessage(message, runFromGlobal) {
|
|
|
|
if (message.author.id == "1091120267851485215") {
|
|
|
|
if (message.author.id == "1091120267851485215") {
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
tylerStop(message);
|
|
|
|
|
|
|
|
console.log(`${message.author.tag} in #${message.channel.name} sent: ${message.content}`);
|
|
|
|
console.log(`${message.author.tag} in #${message.channel.name} sent: ${message.content}`);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
//console.log(message.author);
|
|
|
|
//console.log(message.author);
|
|
|
|