Update main.js

This commit is contained in:
ZyLacx 2020-10-31 13:54:36 +01:00
parent a4429b7bef
commit d5a87a642f

11
main.js
View file

@ -37,7 +37,9 @@ client.on('message', message => {
}
if(msg.startsWith("henlo") && message.author.bot == false){
message.channel.send("Henlooo " + message.author.username + " 🐄");
var emojis = ["🥰", "🐄", "🐮", "❤️", "👋", "🤠", "😊"];
let randomNum = Math.floor(Math.random() * 7);
message.channel.send("Henlooo " + message.author.username + " " + emojis[randomNum]);
}
else if (message.mentions.channels.first() && yes){
if (args.length === 1){
@ -64,7 +66,12 @@ client.on('message', message => {
yes = false;
}
else if (msg.startsWith("how ye") && message.author.bot === false){
message.channel.send("Not bad, how yee?");
let randomNum = Math.floor(Math.random() * 5);
var responses = ["Not bad, how yee?", "MOOdie", "A bit sad 😢", "Good, how yee?", "I'm fine, how yee?"];
message.channel.send(responses[randomNum]);
}
else if (msg.startsWith("tylko jedno")){
message.channel.send("Koksu pięć gram odlecieć sam");
}
});