Minor Changes in Help Command

This commit is contained in:
Daniel Odendahl Jr
2017-05-03 17:46:46 +00:00
parent 54862d1908
commit 29f7aebd55
2 changed files with 4 additions and 6 deletions
+3 -5
View File
@@ -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()
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiaobot",
"version": "17.2.9",
"version": "17.2.10",
"description": "A Discord Bot",
"main": "shardingmanager.js",
"scripts": {