From 00f0acea9a4bedbf0fa312c28e28cb9655d2a225 Mon Sep 17 00:00:00 2001 From: Indrajith K L Date: Tue, 26 Oct 2021 15:42:44 +0530 Subject: Reverted Confusion Gif --- src/main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); } -- cgit v1.2.3