aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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();
}