Update main.js
This commit is contained in:
parent
811eb30283
commit
4b440ec776
1 changed files with 2 additions and 2 deletions
4
main.js
4
main.js
|
@ -38,7 +38,7 @@ client.on('message', message => {
|
||||||
|
|
||||||
if(msg.startsWith("henlo") && message.author.bot == false){
|
if(msg.startsWith("henlo") && message.author.bot == false){
|
||||||
var emojis = ["🥰", "🐄", "🐮", "❤️", "👋", "🤠", "😊"];
|
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]);
|
message.channel.send("Henlooo " + message.author.username + " " + emojis[randomNum]);
|
||||||
}
|
}
|
||||||
else if (message.mentions.channels.first() && yes){
|
else if (message.mentions.channels.first() && yes){
|
||||||
|
@ -66,7 +66,7 @@ client.on('message', message => {
|
||||||
yes = false;
|
yes = false;
|
||||||
}
|
}
|
||||||
else if (msg.startsWith("how ye") && message.author.bot === 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?"];
|
var responses = ["Not bad, how yee?", "MOOdy", "A bit sad 😢", "Good, how yee?", "I'm fine, how yee?"];
|
||||||
message.channel.send(responses[randomNum]);
|
message.channel.send(responses[randomNum]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue