From a4b5cce46a56f5e23a8b5f6ceb5a03c59a6bca23 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Wed, 5 Apr 2017 17:44:07 +0000 Subject: [PATCH] Version Tracker in Info --- commands/botinfo/info.js | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/commands/botinfo/info.js b/commands/botinfo/info.js index 8cf28ce2..25f7792b 100644 --- a/commands/botinfo/info.js +++ b/commands/botinfo/info.js @@ -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!') diff --git a/package.json b/package.json index e05ac68c..e4f6e797 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiaobot", - "version": "18.0.1", + "version": "19.0.0", "description": "A Discord Bot", "main": "shardingmanager.js", "repository": {