Auto react if includes
This commit is contained in:
parent
269cff08aa
commit
bd88c2419a
1 changed files with 5 additions and 1 deletions
4
index.js
4
index.js
|
@ -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")
|
||||||
}
|
}
|
||||||
}});
|
}});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue