tag work regardless if autoresponse is enable or not

This commit is contained in:
Loic Bersier 2018-12-06 20:14:44 +01:00
parent 63f05a4c78
commit c414ff6561

View file

@ -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]) {