Update main.js
This commit is contained in:
parent
3c0a98b581
commit
e3f7c5c284
1 changed files with 15 additions and 11 deletions
26
main.js
26
main.js
|
@ -41,17 +41,21 @@ function gotMessage(message){
|
|||
move(message, msgContentSplit)
|
||||
}
|
||||
|
||||
if (msg.includes("henlo")) {
|
||||
henlo(message)
|
||||
}
|
||||
else if (msg.includes("how ye")) {
|
||||
mood(message)
|
||||
}
|
||||
else if (msg.includes("tylko jedno")) {
|
||||
message.channel.send("Koksu pięć gram odlecieć sam");
|
||||
}
|
||||
if (msgContentSplit[0] == "hug") {
|
||||
hug(message)
|
||||
let isBot = message.author.bot
|
||||
|
||||
if (!isBot){
|
||||
if (msg.includes("henlo")) {
|
||||
henlo(message)
|
||||
}
|
||||
else if (msg.includes("how ye")) {
|
||||
mood(message)
|
||||
}
|
||||
else if (msg.includes("tylko jedno")) {
|
||||
message.channel.send("Koksu pięć gram odlecieć sam");
|
||||
}
|
||||
if (msgContentSplit[0] == "hug") {
|
||||
hug(message)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue