Added back auto reply

This commit is contained in:
Loic Bersier 2018-09-17 22:07:32 +02:00
parent 7080f02d0a
commit 86a7c0f4f0
2 changed files with 6 additions and 6 deletions

View file

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

View file

@ -1,4 +1,4 @@
{
"haha": "no it has to be \"haha yes\"",
"nigger": "nigger LOL get it xD I said nigger HAHHAHAHAHAHA get it cuz its not socially acceptable to say nigger so its funny ROFL saaaayyy NIGGER LMFAOOOO",
"lol": "veri fun"
}