From c414ff65613e82d85359005dc101c441b1c38477 Mon Sep 17 00:00:00 2001 From: Loic Bersier Date: Thu, 6 Dec 2018 20:14:44 +0100 Subject: [PATCH] tag work regardless if autoresponse is enable or not --- index.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/index.js b/index.js index b525ee26..73be99e6 100644 --- a/index.js +++ b/index.js @@ -94,8 +94,6 @@ client.registry } // auto respond to messages else if(responseObject[message_content]) { - var autoresponse = new SelfReloadJSON('DiscordBot/json/autoresponse.json'); - if(autoresponse[message.channel.id] == 'enable') message.channel.send(responseObject[message_content]); // User autoresponse } else if(customresponse[message_content]) {