Remove nsfw/useless commands, refactor stuff

This commit is contained in:
Dragon Fire
2018-08-15 19:34:34 -04:00
parent cc3680009a
commit b3c6b591d3
38 changed files with 192 additions and 531 deletions
+4 -2
View File
@@ -26,11 +26,13 @@ module.exports = class HelpCommand extends Command {
if (!command) {
const embed = new MessageEmbed()
.setTitle('Command List')
.setDescription(`Use ${msg.usage('<command>')} to view detailed information about a command.`)
.setColor(0x00AE86)
.setFooter(`${this.client.registry.commands.size} Commands`);
for (const group of this.client.registry.groups.values()) {
embed.addField(` ${group.name}`, group.commands.map(cmd => cmd.name).join(', ') || 'None');
embed.addField(
` ${group.name}`,
group.commands.map(cmd => `\`${cmd.name}\``).join(', ') || 'None'
);
}
try {
const msgs = [];