disable auto reponse

This commit is contained in:
Loïc Bersier 2018-09-08 21:42:18 +02:00
parent 8b639dcc02
commit 8357a1d72f

View file

@ -45,11 +45,11 @@ client.registry
}) })
// Auto respond to messages // Auto respond to messages
client.on("message", (message) => { // client.on("message", (message) => {
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);