forked from Supositware/Haha-Yes
Added more comment
This commit is contained in:
parent
64bca3c58a
commit
c8f0fd467e
1 changed files with 2 additions and 0 deletions
2
index.js
2
index.js
|
@ -98,11 +98,13 @@ client.registry
|
||||||
if(autoresponse[message.channel.id] == 'disable')
|
if(autoresponse[message.channel.id] == 'disable')
|
||||||
return console.log('disable')
|
return console.log('disable')
|
||||||
message.channel.send(responseObject[message_content]);
|
message.channel.send(responseObject[message_content]);
|
||||||
|
// If it contain "like if" react with 👍
|
||||||
} else if (message_content.includes("like if")) {
|
} else if (message_content.includes("like if")) {
|
||||||
var autoresponse = new SelfReloadJSON('./json/autoresponse.json');
|
var autoresponse = new SelfReloadJSON('./json/autoresponse.json');
|
||||||
if(autoresponse[message.channel.id] == 'disable')
|
if(autoresponse[message.channel.id] == 'disable')
|
||||||
return console.log('disable')
|
return console.log('disable')
|
||||||
message.react("\u{1F44D}")
|
message.react("\u{1F44D}")
|
||||||
|
// If it contain "jeff" react with a jeff emote
|
||||||
} else if (message_content.includes("jeff")) {
|
} else if (message_content.includes("jeff")) {
|
||||||
var autoresponse = new SelfReloadJSON('./json/autoresponse.json');
|
var autoresponse = new SelfReloadJSON('./json/autoresponse.json');
|
||||||
if(autoresponse[message.channel.id] == 'disable')
|
if(autoresponse[message.channel.id] == 'disable')
|
||||||
|
|
Loading…
Reference in a new issue