From 19d284bea1c6544676130075549d757a1d87df29 Mon Sep 17 00:00:00 2001 From: Unknown Date: Sun, 29 Oct 2017 21:36:05 -0400 Subject: Added a new quote --- bot.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/bot.js b/bot.js index f417772..7af6428 100644 --- a/bot.js +++ b/bot.js @@ -42,7 +42,7 @@ function GetQuoteOfTheDay(quoteNum = -1) { var url; if (quoteNum == -1) { - quoteNum = Math.floor(Math.random() * 1000) % 28; + quoteNum = Math.floor(Math.random() * 1000) % 29; } @@ -242,6 +242,13 @@ function GetQuoteOfTheDay(quoteNum = -1) { year = "2017" url = "https://www.example.com/" //TODO: Find a URL break; + case 27: + author = "Tembot"; + authorImage = "https://cdn.discordapp.com/avatars/361202413165608962/f334f0c4365164379311cebee300dd2a.png?size=2048"; + quote = "Why are u stocking me" + year = "2017" + url = "https://www.example.com/" //TODO: Find a URL + break; } QuoteOfTheDay.setAuthor(author, authorImage); -- cgit v1.2.3