aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUnknown <Alee14498@gmail.com>2017-10-27 09:40:18 -0400
committerUnknown <Alee14498@gmail.com>2017-10-27 09:40:18 -0400
commitb578295c6c6a0849e165a0a6c27ccc7bea7f9fc5 (patch)
tree439af11d4af8e6dc75cc95e72195bd8bf7263990
parent6bbdcbd3bea4c28c08380425549cf595a6b6814a (diff)
downloadAstralQuote-ATC-b578295c6c6a0849e165a0a6c27ccc7bea7f9fc5.tar.gz
AstralQuote-ATC-b578295c6c6a0849e165a0a6c27ccc7bea7f9fc5.tar.bz2
AstralQuote-ATC-b578295c6c6a0849e165a0a6c27ccc7bea7f9fc5.zip
Added a quote
-rw-r--r--bot.js9
1 files changed, 8 insertions, 1 deletions
diff --git a/bot.js b/bot.js
index 2938d6a..85b5af5 100644
--- a/bot.js
+++ b/bot.js
@@ -26,7 +26,7 @@ function GetQuoteOfTheDay(quoteNum = -1) {
var url;
if (quoteNum == -1) {
- quoteNum = Math.floor(Math.random() * 1000) % 19;
+ quoteNum = Math.floor(Math.random() * 1000) % 20;
}
@@ -162,6 +162,13 @@ function GetQuoteOfTheDay(quoteNum = -1) {
quote = "IS THERE A GOOOOOGALIE HERE!!!! (Go to 2:30 into the video)"
year = "2014";
url = "https://youtu.be/Ap6fUlMx90A";
+ case 19:
+ author = "143malliw";
+ authorImage = "https://yt3.ggpht.com/-SUPNlJ8a7qA/AAAAAAAAAAI/AAAAAAAAAAA/R_I4z7057_w/s100-c-k-no-mo-rj-c0xffffff/photo.jpg";
+ quote = "but i can't write a quote, for I am the quote";
+ year = "2017";
+ url = "https://www.example.com/"; // TODO: Find a URL
+ break;
}
QuoteOfTheDay.setAuthor(author, authorImage);