This commit is contained in:
Daniel Odendahl Jr
2017-11-08 12:29:09 +00:00
parent a0a3cdd721
commit 819db49057
+1 -1
View File
@@ -35,7 +35,7 @@ module.exports = class HelpCommand extends Command {
**Aliases**: ${data.aliases.join(', ') || 'None'}
**Group**: ${data.group.name} (\`${data.groupID}:${data.memberName}\`)
**Examples**:
${data.examples.join('\n') || 'None'}
${data.examples ? data.examples.join('\n') : 'None'}
`);
} else if (commands.length > 1) {
return msg.say(`Multiple commands found: ${commands.map(cmd => cmd.name).join(', ')}`);