From 86a7c0f4f03aa9d3ac27de927a677409c3786b5b Mon Sep 17 00:00:00 2001 From: Loic Bersier Date: Mon, 17 Sep 2018 22:07:32 +0200 Subject: [PATCH] Added back auto reply --- index.js | 10 +++++----- reply.json | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/index.js b/index.js index 61f28795..1a36c33c 100644 --- a/index.js +++ b/index.js @@ -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); diff --git a/reply.json b/reply.json index 4cabe5ea..b3454753 100644 --- a/reply.json +++ b/reply.json @@ -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" } \ No newline at end of file