Update main.js

This commit is contained in:
ZyLacx 2020-11-04 17:53:00 +01:00
parent 36f658a19d
commit 1264016cb2

View file

@ -43,12 +43,12 @@ client.on('message', message => {
linkNo++; linkNo++;
} }
/*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() * 7);
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) {
if (args.length === 1) { if (args.length === 1) {
message.react('🐮'); message.react('🐮');
let channelId = ""; let channelId = "";