Auto react if includes

This commit is contained in:
loicbersier 2018-10-04 18:59:37 +02:00
parent 269cff08aa
commit bd88c2419a

View file

@ -82,6 +82,10 @@ client.registry
// auto respond to messages // auto respond to messages
else if(responseObject[message_content]) { else if(responseObject[message_content]) {
message.channel.send(responseObject[message_content]); message.channel.send(responseObject[message_content]);
} else if (message_content.includes("like if")) {
message.react("\u{1F44D}")
} else if (message_content.includes("jeff")) {
message.react("496028845967802378")
} }
}}); }});