From deb011865255cbeb9eca036d1d9148dba5650759 Mon Sep 17 00:00:00 2001 From: Alex Date: Wed, 8 Jul 2020 16:19:35 -0500 Subject: [PATCH] egg --- src/index.js | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index a32f48d..17435e8 100755 --- a/src/index.js +++ b/src/index.js @@ -132,12 +132,29 @@ client.on("message", async message => { return message.reply('https://technicolor.2a03.party/bot/'); } - if (command === "fix") { + if(command === "fix") { if(message.member.roles.cache.some(r=>["Botmeister"].includes(r.name))) { return message.channel.send("I guess it's my fault will fix."); } return; } + + if(command === "va"){ + let msg = "" + let num = Math.floor(Math.random() * (3 - 1) + 1); //The maximum is exclusive and the minimum is inclusive + switch(num){ + case 1: + msg = "its simple, mind over matter. i dont mind, and you dont fucking matter"; + break; + case 2: + msg = "I can eat alphabet soup and shit out a more coherent sentence than you"; + break; + case 3: + msg = "you are living proof darwinism is dead, hell, even reversing."; + break; + } + return message.reply(`${msg}`) + } //////////////////////////////////////////////////////////////////////////////// if(command === "say") { // makes the bot say something and delete the message. As an example, it's open to anyone to use.