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
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);