diff options
author | Indrajith K L | 2021-10-26 15:42:44 +0530 |
---|---|---|
committer | Indrajith K L | 2021-10-26 15:42:44 +0530 |
commit | 00f0acea9a4bedbf0fa312c28e28cb9655d2a225 (patch) | |
tree | 032d099afd98b18588093a80fbb426b85c0525d7 | |
parent | 4706f6c1ada033db9d28e815739ab3e096c98091 (diff) | |
download | lul-bot-master.tar.gz lul-bot-master.tar.bz2 lul-bot-master.zip |
-rw-r--r-- | src/main.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.js b/src/main.js index ab33c28..a2cf155 100644 --- a/src/main.js +++ b/src/main.js @@ -13,7 +13,7 @@ client.on('message', (message) => { if (message.content.startsWith(CMD_PREFIX)) { const commandReply = parseCMD(message); if (!commandReply) { - //confusion.execute(message); + confusion.execute(message); } } else { const replyMessage = parseCasualMessage(message); @@ -55,6 +55,7 @@ function parseCasualMessage(message) { if (!casualMessages.hasOwnProperty(parsedMessage)) { let currentKey; parsedMessage.split(" ").forEach((lang) => { + console.log(lang); if(casualMessages.hasOwnProperty(lang.toString().trim())) { currentKey = lang.toString().trim(); } |