From 0e6060f4f526a50273f55126839d5a64715a7fa3 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Tue, 11 Apr 2017 14:05:00 +0000 Subject: [PATCH] Register the Other Commands Again --- commands/botinfo/info.js | 2 +- commands/botinfo/shardinfo.js | 5 ++--- html/carbondesc.html | 2 +- html/discordbots.html | 2 +- index.js | 3 +-- 5 files changed, 6 insertions(+), 8 deletions(-) diff --git a/commands/botinfo/info.js b/commands/botinfo/info.js index 91116762..be43baaa 100644 --- a/commands/botinfo/info.js +++ b/commands/botinfo/info.js @@ -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', diff --git a/commands/botinfo/shardinfo.js b/commands/botinfo/shardinfo.js index d2599937..6888e442 100644 --- a/commands/botinfo/shardinfo.js +++ b/commands/botinfo/shardinfo.js @@ -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', diff --git a/html/carbondesc.html b/html/carbondesc.html index 5d623201..639ef163 100644 --- a/html/carbondesc.html +++ b/html/carbondesc.html @@ -53,7 +53,7 @@

Information

diff --git a/html/discordbots.html b/html/discordbots.html index 91c89da9..1324c002 100644 --- a/html/discordbots.html +++ b/html/discordbots.html @@ -102,7 +102,7 @@

Information

diff --git a/index.js b/index.js index e1acfb81..20b26976 100644 --- a/index.js +++ b/index.js @@ -27,8 +27,7 @@ client.registry ]) .registerDefaultGroups() .registerDefaultCommands({ - prefix: false, - commandState: false + prefix: false }) .registerCommandsIn(path.join(__dirname, 'commands'));