mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-24 02:15:10 +02:00
Version Tracker in Info
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
const commando = require('discord.js-commando');
|
const commando = require('discord.js-commando');
|
||||||
const Discord = require('discord.js');
|
const Discord = require('discord.js');
|
||||||
const config = require('../../config.json');
|
const config = require('../../config.json');
|
||||||
|
const pkg = require('../../package.json');
|
||||||
const moment = require('moment');
|
const moment = require('moment');
|
||||||
require('moment-duration-format');
|
require('moment-duration-format');
|
||||||
|
|
||||||
@@ -31,8 +32,7 @@ module.exports = class InfoCommand extends commando.Command {
|
|||||||
.setAuthor(this.client.user.username, this.client.user.avatarURL)
|
.setAuthor(this.client.user.username, this.client.user.avatarURL)
|
||||||
.setColor(0x00AE86)
|
.setColor(0x00AE86)
|
||||||
.setDescription('XiaoBot is your personal companion for your Discord Server!')
|
.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!`)
|
.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!`)
|
||||||
.setThumbnail(this.client.user.avatarURL)
|
|
||||||
.setURL('http://dragonfire535.weebly.com/xiaobot.html')
|
.setURL('http://dragonfire535.weebly.com/xiaobot.html')
|
||||||
.addField('Commands',
|
.addField('Commands',
|
||||||
'There are a variety of commands XiaoBot can use! Use `;help` to view a list of all commands!')
|
'There are a variety of commands XiaoBot can use! Use `;help` to view a list of all commands!')
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "xiaobot",
|
"name": "xiaobot",
|
||||||
"version": "18.0.1",
|
"version": "19.0.0",
|
||||||
"description": "A Discord Bot",
|
"description": "A Discord Bot",
|
||||||
"main": "shardingmanager.js",
|
"main": "shardingmanager.js",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|||||||
Reference in New Issue
Block a user