Update main.js

This commit is contained in:
ZyLacx 2020-10-31 14:14:29 +01:00
parent 811eb30283
commit 4b440ec776

View file

@ -38,7 +38,7 @@ client.on('message', message => {
if(msg.startsWith("henlo") && message.author.bot == false){
var emojis = ["🥰", "🐄", "🐮", "❤️", "👋", "🤠", "😊"];
let randomNum = Math.floor(Math.random() * 7);
let randomNum = Math.floor(Math.random() * 8);
message.channel.send("Henlooo " + message.author.username + " " + emojis[randomNum]);
}
else if (message.mentions.channels.first() && yes){
@ -66,7 +66,7 @@ client.on('message', message => {
yes = false;
}
else if (msg.startsWith("how ye") && message.author.bot === false){
let randomNum = Math.floor(Math.random() * 5);
let randomNum = Math.floor(Math.random() * 6);
var responses = ["Not bad, how yee?", "MOOdy", "A bit sad 😢", "Good, how yee?", "I'm fine, how yee?"];
message.channel.send(responses[randomNum]);
}