From 95a80414f95cb2233c5d4165a8f67b6a0b9de100 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Sat, 13 May 2017 21:21:15 +0000 Subject: [PATCH] Help Command --- commands/util/help.js | 8 ++++---- commands/util/shardinfo.js | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/commands/util/help.js b/commands/util/help.js index c3275e47..3165f9f5 100644 --- a/commands/util/help.js +++ b/commands/util/help.js @@ -31,7 +31,7 @@ module.exports = class HelpCommand extends Command { return msg.say(stripIndents` __Command **${commands[0].name}**:__ *${commands[0].description}* ${commands[0].guildOnly ? 'Usable Only in Servers' : 'Usable in Servers and DM'} - **Format:** ${msg.anyUsage(`${commands[0].name}${commands[0].format ? ` ${commands[0].format}` : ''}`)} + **Format:** ${msg.anyUsage(`${commands[0].name} ${commands[0].format ? commands[0].format : ''}`)} **Aliases:** ${commands[0].aliases.join(', ') || 'None'} **Group:** ${commands[0].group.name} ${commands[0].details || ''} @@ -48,9 +48,9 @@ module.exports = class HelpCommand extends Command { .setColor(0x00AE86); for (const group of this.client.registry.groups.array()) { embed.addField(group.name, - !showAll ? - group.commands.filter(c => c.isUsable(msg)).map(c => `\`${c.name}\``).join(', ') || 'None Available' : - group.commands.map(c => `\`${c.name}\``).join(', ')); + showAll ? + group.commands.map(c => c.name).join(', ') : + group.commands.filter(c => c.isUsable(msg)).map(c => c.name).join(', ') || 'None Available'); } try { await msg.author.send({ embed }); diff --git a/commands/util/shardinfo.js b/commands/util/shardinfo.js index 90a008eb..0a1810f2 100644 --- a/commands/util/shardinfo.js +++ b/commands/util/shardinfo.js @@ -34,7 +34,7 @@ module.exports = class ShardInfoCommand extends Command { const uptime = await this.client.shard.fetchClientValues('uptime'); const guilds = await this.client.shard.fetchClientValues('guilds.size'); const embed = new RichEmbed() - .setTitle(`Data for Shard ${shard}:`) + .setTitle(`Shard ${shard}`) .setColor(0x00AE86) .addField('Servers', guilds[shard], true)