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