diff --git a/README.md b/README.md index e0b0b9fd..aad483f3 100644 --- a/README.md +++ b/README.md @@ -119,7 +119,7 @@ don't grant that permission. ## Commands -Total: 361 +Total: 362 ### Utility: diff --git a/commands/readme/generate-commands.js b/commands/readme/generate-commands.js index 37e908b6..1323bd54 100644 --- a/commands/readme/generate-commands.js +++ b/commands/readme/generate-commands.js @@ -24,7 +24,7 @@ module.exports = class GenerateCommandsCommand extends Command { async run(msg) { const list = this.client.registry.groups - .map(g => `\n### ${g.name}:\n\n${g.commands.map( + .map(g => `\n### ${g.name}:\n\n${g.commands.filter(c => !c.hidden).map( c => `* **${c.name}:** ${c.description}${c.ownerOnly ? ' (Owner-Only)' : ''}` ).join('\n')}`); const { body } = await request