1
0
Fork 0
Commando
Loic Bersier 6 years ago
parent c414ff6561
commit e02887babf

@ -94,6 +94,8 @@ client.registry
} }
// auto respond to messages // auto respond to messages
else if(responseObject[message_content]) { 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]); message.channel.send(responseObject[message_content]);
// User autoresponse // User autoresponse
} else if(customresponse[message_content]) { } else if(customresponse[message_content]) {

Loading…
Cancel
Save