From d5a87a642f1cf12e3455ef02428a81d8cc6c59ed Mon Sep 17 00:00:00 2001 From: ZyLacx Date: Sat, 31 Oct 2020 13:54:36 +0100 Subject: [PATCH] Update main.js --- main.js | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/main.js b/main.js index 2f7b7ac..ee74d89 100644 --- a/main.js +++ b/main.js @@ -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"); } });