Embedless Who's that Pokemon

This commit is contained in:
Daniel Odendahl Jr
2017-10-11 17:41:14 +00:00
parent cbfe26a384
commit a0261c1f03
3 changed files with 5 additions and 12 deletions
+1 -2
View File
@@ -45,8 +45,7 @@ module.exports = class HelpCommand extends Command {
.setDescription(`Use ${msg.usage('<command>')} to view detailed information about a command.`)
.setColor(0x00AE86);
for (const group of this.client.registry.groups.values()) {
embed.addField(` ${group.name}`,
group.commands.map(c => c.name).join(', ') || 'None');
embed.addField(` ${group.name}`, group.commands.map(c => c.name).join(', ') || 'None');
}
try {
await msg.direct({ embed });