From 519bd4281dd7176f92725ccec7011783f056101c Mon Sep 17 00:00:00 2001 From: Alee14 Date: Mon, 12 Feb 2018 08:20:27 -0500 Subject: VICTOR SWORE AGAIN HAHAHAHA THANKS SERVERLION Psst I copied and pasted that quote didn't actually typed it --- bot.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/bot.js b/bot.js index aada2a8..a1a640e 100644 --- a/bot.js +++ b/bot.js @@ -51,7 +51,7 @@ function GetQuoteOfTheDay(quoteNum = -1) { var url; if (quoteNum == -1) { - quoteNum = Math.floor(Math.random() * 1000) % 41; + quoteNum = Math.floor(Math.random() * 1000) % 42; } @@ -341,6 +341,13 @@ function GetQuoteOfTheDay(quoteNum = -1) { quote = "VAAAAT NINETEEEEEEN! dot com ._."; year = "2017" url = "https://youtu.be/tnvcxBns_uQ?t=3m17s"; + break; + case 41: + author = "Victor Tran"; + authorImage = ""; + quote = "Who needs to say fuck when you can say - instead\nI blame that on my secretary :sob:"; + url = "https://www.example.com/"; //TODO: Find a URL + break; } QuoteOfTheDay.setAuthor(author, authorImage); -- cgit v1.2.3 From 4ea08efa359fab06cf4bb19d4bc3335e614fb7c0 Mon Sep 17 00:00:00 2001 From: Alee14 Date: Mon, 12 Feb 2018 08:22:21 -0500 Subject: I just forgot the year... --- bot.js | 1 + 1 file changed, 1 insertion(+) diff --git a/bot.js b/bot.js index a1a640e..ce976db 100644 --- a/bot.js +++ b/bot.js @@ -346,6 +346,7 @@ function GetQuoteOfTheDay(quoteNum = -1) { author = "Victor Tran"; authorImage = ""; quote = "Who needs to say fuck when you can say - instead\nI blame that on my secretary :sob:"; + year = "2018"; url = "https://www.example.com/"; //TODO: Find a URL break; } -- cgit v1.2.3 From 29bb8ec9e0b26d35e15c3e9954fc400d319143d4 Mon Sep 17 00:00:00 2001 From: Alee14 Date: Mon, 12 Feb 2018 08:34:24 -0500 Subject: Updated quote 42 --- bot.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bot.js b/bot.js index ce976db..34934c1 100644 --- a/bot.js +++ b/bot.js @@ -344,7 +344,7 @@ function GetQuoteOfTheDay(quoteNum = -1) { break; case 41: author = "Victor Tran"; - authorImage = ""; + authorImage = "https://yt3.ggpht.com/-Iuf1v4-SSSM/AAAAAAAAAAI/AAAAAAAAAAA/89IYeQw--wU/photo.jpg"; quote = "Who needs to say fuck when you can say - instead\nI blame that on my secretary :sob:"; year = "2018"; url = "https://www.example.com/"; //TODO: Find a URL @@ -410,7 +410,7 @@ client.on('message', message => { log('[?] Reboot Requested. Rebooting...'); client.destroy(); DidReboot = true; - client.login('MjgwMjQ1MDAwMDI0MDk2NzY4.C4K8Nw.InlnQvRmbvfJG0nv13FXtoVzXwc'); + client.login(nope); */ message.channel.send("Good try... But we're not letting anyone reboot me yet!"); } else if (command === 'poweroff') { -- cgit v1.2.3 From 05ce6218d98f0ce46cc9a1d27b9d638dc1a80722 Mon Sep 17 00:00:00 2001 From: Alee14 Date: Mon, 12 Feb 2018 08:42:49 -0500 Subject: Added message.delete to forcequote --- bot.js | 1 + 1 file changed, 1 insertion(+) diff --git a/bot.js b/bot.js index 34934c1..8e438df 100644 --- a/bot.js +++ b/bot.js @@ -400,6 +400,7 @@ client.on('message', message => { message.channel.send("Here's the quote of the day (as of " + QuoteOfTheDayStartTime.toUTCString() + ")"); message.channel.sendEmbed(quoteofday); } else if (command === "forcequote") { + message.delete(); QuoteOfTheDayExpiry = 0; var quoteofday = GetQuoteOfTheDay(); message.channel.send("New quote of the day!"); -- cgit v1.2.3