diff --git a/main.cjs b/main.cjs index d43ec42..23278d8 100644 --- a/main.cjs +++ b/main.cjs @@ -11,6 +11,14 @@ global.madlibState = { gameChannel: undefined, storyTitle:undefined, currentStor const madlib = require("./madlibs/stories.json"); global.madlibState.numberOfStories = Object.keys(madlib.stories).length; +global.tylerStop = function tylerStop(message) { + if (!message.author.bot && message.author.id == "205475706296205312" && message.content.toLowerCase().includes('idiot')) { + message.react('<:amgery:1072270900675739758>'); + message.reply("Caleb has specifcially asked you multiple times to stop calling yourself an idiot."); + } +} + + // Create a new client instance const client = new Discord.Client({ intents: [ @@ -214,12 +222,7 @@ global.checkMessage = function checkMessage(message, runFromGlobal) { replyMessage(message, correctedMessage, abbrsUsed); } -global.tylerStop = function tylerStop(message) { - if (!message.author.bot && message.author.id == "205475706296205312" && message.content.toLowerCase().includes('idiot')) { - message.react('<:amgery:1072270900675739758>'); - message.reply("Caleb has specifcially asked you multiple times to stop calling yourself an idiot."); - } -} + } function checkIfGirlfriend(message) {