From 29f7aebd55571c1a1973f4788bf263d46f8b2e0c Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Wed, 3 May 2017 17:46:46 +0000 Subject: [PATCH] Minor Changes in Help Command --- commands/util/help.js | 8 +++----- package.json | 2 +- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/commands/util/help.js b/commands/util/help.js index a8f9852e..24665df6 100644 --- a/commands/util/help.js +++ b/commands/util/help.js @@ -32,7 +32,7 @@ module.exports = class HelpCommand extends Command { if (commands.length === 1) { return msg.say(stripIndents` __Command **${commands[0].name}**:__ *${commands[0].description}* - ${commands[0].guildOnly ? 'Usable Only in Servers' : 'Usable in Server and DM'} + ${commands[0].guildOnly ? 'Usable Only in Servers' : 'Usable in Servers and DM'} **Format:** ${msg.anyUsage(`${commands[0].name}${commands[0].format ? ` ${commands[0].format}` : ''}`)} **Aliases:** ${commands[0].aliases.join(', ') || 'None'} **Group:** ${commands[0].group.name} @@ -41,11 +41,9 @@ module.exports = class HelpCommand extends Command { } else if (commands.length > 1) { return msg.say('Multiple Commands Found. Please be more specific.'); } else { - return msg.say( - `Could not identify command. Use ${msg.usage( + return msg.say(`Could not identify command. Use ${msg.usage( null, msg.channel.type === 'dm' ? null : undefined, msg.channel.type === 'dm' ? null : undefined - )} to view a list of commands you can use.` - ); + )} to view a list of commands you can use.`); } } else { const embed = new RichEmbed() diff --git a/package.json b/package.json index 1f310596..b16e4172 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiaobot", - "version": "17.2.9", + "version": "17.2.10", "description": "A Discord Bot", "main": "shardingmanager.js", "scripts": {