diff options
| author | Alee <alee14498@gmail.com> | 2018-02-24 23:09:57 -0500 |
|---|---|---|
| committer | Alee <alee14498@gmail.com> | 2018-02-24 23:09:57 -0500 |
| commit | 0764799f89f60c755b6184f5fa21bc91b5887311 (patch) | |
| tree | fe9f39dd40cb3f169cf906b297204a3f6b03fd96 /bot.js | |
| parent | dd2600e37747b6d3fc05fecf52995b872e3042c4 (diff) | |
| download | AstralQuote-ATC-0764799f89f60c755b6184f5fa21bc91b5887311.tar.gz AstralQuote-ATC-0764799f89f60c755b6184f5fa21bc91b5887311.tar.bz2 AstralQuote-ATC-0764799f89f60c755b6184f5fa21bc91b5887311.zip | |
Shortend quoteoftheday
Diffstat (limited to 'bot.js')
| -rw-r--r-- | bot.js | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -2,7 +2,7 @@ const Discord = require('discord.js'); const moment = require('moment');
const client = new Discord.Client();
const config = require('./config.json');
-const aqVersion = '1.2.1';
+const aqVersion = '1.2.2';
const prefix = 'aq:';
const log = message => {
@@ -101,7 +101,7 @@ client.on('message', message => { message.channel.send(getBoshyTime(message.guild) + ' PING!');
} else if (command === 'isthisthingon') {
message.channel.send('no 💤');
- } else if (command === 'quoteoftheday') {
+ } else if (command === 'qotd') {
const quoteofday = GetQuoteOfTheDay();
message.channel.send('Here\'s the quote of the day (as of ' + QuoteOfTheDayStartTime.toUTCString() + ')');
message.channel.sendEmbed(quoteofday);
@@ -145,7 +145,7 @@ client.on('message', message => { .setColor('#939d45')
.addField('- General Commands', 'ping\npong\ninvitebot\nreboot\npoweroff', true)
.addField('- Info Commands', 'copyright\ncontribute\ninformation')
- .addField('- Quote Commands', 'quoteoftheday\nforcequote', true)
+ .addField('- Quote Commands', 'qotd\nforcequote', true)
.setFooter('AstralQuote Copyright 2017.');
message.channel.send(embed);
} else if (command === 'oldhelp') {
|
