From 197478b90f2d6483c6fe6bbf06b6cc4e45549c3e Mon Sep 17 00:00:00 2001 From: Loic Bersier Date: Tue, 18 Sep 2018 18:50:24 +0200 Subject: [PATCH] disalbe auto response for the moment --- index.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/index.js b/index.js index 80097342..768e21af 100644 --- a/index.js +++ b/index.js @@ -64,12 +64,12 @@ client.registry }) // Auto respond to messages - client.on("message", (message) => { - let message_content = message.content.toLowerCase(); - if(responseObject[message_content]) { - message.channel.send(responseObject[message_content]); - } - }); +// client.on("message", (message) => { +// let message_content = message.content.toLowerCase(); +// if(responseObject[message_content]) { +// message.channel.send(responseObject[message_content]); +// } +// }); client.on('error', console.error);