tag work regardless if autoresponse is enable or not

Commando
Loic Bersier 6 years ago
parent 63f05a4c78
commit c414ff6561

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

Loading…
Cancel
Save