Version Tracker in Info

This commit is contained in:
Daniel Odendahl Jr
2017-04-05 17:44:07 +00:00
parent 63e825bc4c
commit a4b5cce46a
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -1,6 +1,7 @@
const commando = require('discord.js-commando');
const Discord = require('discord.js');
const config = require('../../config.json');
const pkg = require('../../package.json');
const moment = require('moment');
require('moment-duration-format');
@@ -31,8 +32,7 @@ module.exports = class InfoCommand extends commando.Command {
.setAuthor(this.client.user.username, this.client.user.avatarURL)
.setColor(0x00AE86)
.setDescription('XiaoBot is your personal companion for your Discord Server!')
.setFooter(`©2017 dragonfire535 | Created ${moment.duration(Date.now() - this.client.user.createdTimestamp).format('y[ years], M[ months], w[ weeks, and ]d[ days]')} ago!`)
.setThumbnail(this.client.user.avatarURL)
.setFooter(`©2017 dragonfire535 | Version ${pkg.version} | Created ${moment.duration(Date.now() - this.client.user.createdTimestamp).format('y[ years], M[ months], w[ weeks, and ]d[ days]')} ago!`)
.setURL('http://dragonfire535.weebly.com/xiaobot.html')
.addField('Commands',
'There are a variety of commands XiaoBot can use! Use `;help` to view a list of all commands!')
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiaobot",
"version": "18.0.1",
"version": "19.0.0",
"description": "A Discord Bot",
"main": "shardingmanager.js",
"repository": {