forked from Supositware/Haha-Yes
restored
This commit is contained in:
parent
c414ff6561
commit
e02887babf
1 changed files with 2 additions and 0 deletions
2
index.js
2
index.js
|
@ -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…
Reference in a new issue