tag work regardless if autoresponse is enable or not
This commit is contained in:
parent
63f05a4c78
commit
c414ff6561
1 changed files with 0 additions and 2 deletions
2
index.js
2
index.js
|
@ -94,8 +94,6 @@ 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