Update main.js

This commit is contained in:
ZyLacx 2022-01-01 00:44:57 +01:00
parent 3c0a98b581
commit e3f7c5c284

View file

@ -41,6 +41,9 @@ function gotMessage(message){
move(message, msgContentSplit) move(message, msgContentSplit)
} }
let isBot = message.author.bot
if (!isBot){
if (msg.includes("henlo")) { if (msg.includes("henlo")) {
henlo(message) henlo(message)
} }
@ -53,6 +56,7 @@ function gotMessage(message){
if (msgContentSplit[0] == "hug") { if (msgContentSplit[0] == "hug") {
hug(message) hug(message)
} }
}
} }
// Responses // Responses