diff options
| author | Unknown <Alee14498@gmail.com> | 2017-10-29 08:20:43 -0400 |
|---|---|---|
| committer | Unknown <Alee14498@gmail.com> | 2017-10-29 08:20:43 -0400 |
| commit | e0d64f785c3607fd5a813ae77e52557ee5fdf2e2 (patch) | |
| tree | f5a6443616e3084f15b6099d196f3719cbfcae2b /bot.js | |
| parent | f7b7246eec5570021c81fbabf50f3bd5e0522567 (diff) | |
| download | AstralQuote-ATC-e0d64f785c3607fd5a813ae77e52557ee5fdf2e2.tar.gz AstralQuote-ATC-e0d64f785c3607fd5a813ae77e52557ee5fdf2e2.tar.bz2 AstralQuote-ATC-e0d64f785c3607fd5a813ae77e52557ee5fdf2e2.zip | |
Added a quote + Fixes
Diffstat (limited to 'bot.js')
| -rw-r--r-- | bot.js | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -42,7 +42,7 @@ function GetQuoteOfTheDay(quoteNum = -1) { var url; if (quoteNum == -1) { - quoteNum = Math.floor(Math.random() * 1000) % 27; + quoteNum = Math.floor(Math.random() * 1000) % 28; } @@ -235,6 +235,13 @@ function GetQuoteOfTheDay(quoteNum = -1) { year = "2017" url = "https://www.example.com/" //TODO: Find a URL break; + case 27: + author = "FloppyDiskDrive"; + authorImage = "https://cdn.discordapp.com/avatars/228271067821506560/82edc6d24cc88b300260707e44f3442f.png?size=2048"; + quote = "Victor would be a champ at synchronized thinking." + year = "2017" + url = "https://www.example.com/" //TODO: Find a URL + break; } QuoteOfTheDay.setAuthor(author, authorImage); @@ -405,7 +412,7 @@ client.on('message', message => { msg = "Pretty sure you didn't expect this message to appear..."; break; } - message.channel.send("<:vtBoshyTime:280178631886635008> GAH! " + msg + " Refer to !help for syntax and other stuff."); + message.channel.send("<:vtBoshyTime:280178631886635008> GAH! " + msg + " Refer to aq:help for syntax and other stuff."); } }); |
