aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIndrajith K L2021-10-26 15:42:44 +0530
committerIndrajith K L2021-10-26 15:42:44 +0530
commit00f0acea9a4bedbf0fa312c28e28cb9655d2a225 (patch)
tree032d099afd98b18588093a80fbb426b85c0525d7
parent4706f6c1ada033db9d28e815739ab3e096c98091 (diff)
downloadlul-bot-00f0acea9a4bedbf0fa312c28e28cb9655d2a225.tar.gz
lul-bot-00f0acea9a4bedbf0fa312c28e28cb9655d2a225.tar.bz2
lul-bot-00f0acea9a4bedbf0fa312c28e28cb9655d2a225.zip
Reverted Confusion GifHEADmaster
-rw-r--r--src/main.js3
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();
}