This commit is contained in:
Daniel Odendahl Jr
2017-05-02 22:54:20 +00:00
parent 9284565e76
commit 759d7658c7
+1 -1
View File
@@ -53,7 +53,7 @@ module.exports = class HelpCommand extends Command {
.setColor(0x00AE86);
for (const group of this.client.registry.groups.array()) {
embed.addField(group.name,
command !== 'all' ? group.commands.filter(c => c.isUsable(msg)).map(c => `\`${c.name}\``).join(', ') || 'None Available' : group.commands);
command !== 'all' ? group.commands.filter(c => c.isUsable(msg)).map(c => `\`${c.name}\``).join(', ') || 'None Available' : group.commands.map(c => `\`${c.name}\``).join(', '));
}
try {
await msg.author.send({embed});