disalbe auto response for the moment

This commit is contained in:
Loic Bersier 2018-09-18 18:50:24 +02:00
parent eecc6ebbe5
commit 197478b90f

View file

@ -64,12 +64,12 @@ client.registry
}) })
// Auto respond to messages // Auto respond to messages
client.on("message", (message) => { // client.on("message", (message) => {
let message_content = message.content.toLowerCase(); // let message_content = message.content.toLowerCase();
if(responseObject[message_content]) { // if(responseObject[message_content]) {
message.channel.send(responseObject[message_content]); // message.channel.send(responseObject[message_content]);
} // }
}); // });
client.on('error', console.error); client.on('error', console.error);