Register the Other Commands Again

This commit is contained in:
Daniel Odendahl Jr
2017-04-11 14:05:00 +00:00
parent c653750c91
commit 0e6060f4f5
5 changed files with 6 additions and 8 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ module.exports = class InfoCommand extends Command {
.addField('Shards',
`${this.client.options.shardCount} (${this.client.shard.id})`, true)
.addField('Commands',
'108', true)
'114', true)
.addField('Owner',
'dragonfire535#8081', true)
.addField('Source Code',
+2 -3
View File
@@ -39,13 +39,12 @@ module.exports = class ShardInfoCommand extends Command {
const guilds = await this.client.shard.fetchClientValues('guilds.size');
const embed = new RichEmbed()
.setColor(0x00AE86)
.setFooter(`©2017 dragonfire535 | Version ${version} | Created ${moment.duration(Date.now() - this.client.user.createdTimestamp).format('y[ years], M[ months], w[ weeks, and ]d[ days]')} ago!`)
.addField('Servers',
`${guilds[shardID]} / ${guilds.reduce((prev, val) => prev + val, 0)}`, true)
.addField('Shards',
`${this.client.options.shardCount} (${shardID})`, true)
.addField('Commands',
'108', true)
.addField('Version',
version, true)
.addField('Memory Usage',
`${memory[shardID]}MB`, true)
.addField('Uptime',
+1 -1
View File
@@ -53,7 +53,7 @@
<h2>Information</h2>
<ul>
<li><a href="https://discord.gg/fqQF8mc">Home Server</a></li>
<li>Command Count: 108</li>
<li>Command Count: 114</li>
<li>Server Host: <a href="https://www.heroku.com/">Heroku</a></li>
</ul>
</div>
+1 -1
View File
@@ -102,7 +102,7 @@
<h2>Information</h2>
<ul>
<li><a href="https://discord.gg/fqQF8mc">Home Server</a></li>
<li>Command Count: 108</li>
<li>Command Count: 114</li>
<li>Server Host: <a href="https://www.heroku.com/">Heroku</a></li>
</ul>
</div>
+1 -2
View File
@@ -27,8 +27,7 @@ client.registry
])
.registerDefaultGroups()
.registerDefaultCommands({
prefix: false,
commandState: false
prefix: false
})
.registerCommandsIn(path.join(__dirname, 'commands'));