mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-05 00:06:42 +02:00
Hide hidden commands from README
This commit is contained in:
@@ -119,7 +119,7 @@ don't grant that permission.
|
||||
|
||||
## Commands
|
||||
|
||||
Total: 361
|
||||
Total: 362
|
||||
|
||||
### Utility:
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user