From bd88c2419a80a577e6123f859c54b5095f1ee919 Mon Sep 17 00:00:00 2001 From: loicbersier Date: Thu, 4 Oct 2018 18:59:37 +0200 Subject: [PATCH] Auto react if includes --- index.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index b13f7d07..3faa6089 100644 --- a/index.js +++ b/index.js @@ -82,7 +82,11 @@ client.registry // auto respond to messages else if(responseObject[message_content]) { message.channel.send(responseObject[message_content]); - } + } else if (message_content.includes("like if")) { + message.react("\u{1F44D}") + } else if (message_content.includes("jeff")) { + message.react("496028845967802378") + } }}); client.on('error', console.error);