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,7 +82,11 @@ client.registry
// auto respond to messages
else if(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")
}
}});
client.on('error', console.error);