From ce7a467f389c293f6b9d77f59ae61ab710b45d6f Mon Sep 17 00:00:00 2001 From: Alex Brow Date: Mon, 24 Feb 2020 20:45:27 -0500 Subject: [PATCH] add Time to take names and make my parents disappointed in me. --- src/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/index.js b/src/index.js index cbecc2a..6c029ce 100755 --- a/src/index.js +++ b/src/index.js @@ -252,7 +252,7 @@ client.on("message", async message => { }; if (command === "quote") { min = Math.ceil(0); - max = Math.floor(32); + max = Math.floor(33); // Quote format ' quote stuff like egg eegg egg mommmmy' let quotes = [ ' Im a segregationist', @@ -285,12 +285,12 @@ client.on("message", async message => { ' Oh I’m good at cryptology. Take each letter, assign that letter a number, add them all together, and shove it up your ass', ' Me? They are saying that I\'m part of a death squad? True, that\'s true.', ' We live in a squadron.', - ' Is math related to science?' + ' Is math related to science?', + ' Time to take names and make my parents disappointed in me.' ] let number = Math.floor(Math.random() * (max - min) + min) //The maximum is exclusive and the minimum is inclusive return message.channel.send(quotes[number]) } - }); client.login(config.token);