From c8f0fd467eb0692ce2a989e2b2b0fbe54bca197b Mon Sep 17 00:00:00 2001 From: Loic Bersier Date: Mon, 12 Nov 2018 17:21:15 +0100 Subject: [PATCH] Added more comment --- index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.js b/index.js index 0e5f0984..0b67983a 100644 --- a/index.js +++ b/index.js @@ -98,11 +98,13 @@ client.registry if(autoresponse[message.channel.id] == 'disable') return console.log('disable') message.channel.send(responseObject[message_content]); +// If it contain "like if" react with 👍 } else if (message_content.includes("like if")) { var autoresponse = new SelfReloadJSON('./json/autoresponse.json'); if(autoresponse[message.channel.id] == 'disable') return console.log('disable') message.react("\u{1F44D}") +// If it contain "jeff" react with a jeff emote } else if (message_content.includes("jeff")) { var autoresponse = new SelfReloadJSON('./json/autoresponse.json'); if(autoresponse[message.channel.id] == 'disable')