mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-27 06:37:32 +02:00
Fix
This commit is contained in:
@@ -15,7 +15,7 @@ module.exports = class GenerateCommandsCommand extends Command {
|
||||
}
|
||||
|
||||
async run(msg) {
|
||||
const list = client.registry.groups
|
||||
const list = this.client.registry.groups
|
||||
.filter(g => g.id !== 'owner')
|
||||
.map(g => `\n### ${g.name}:\n\n${g.commands.map(c => `* **${c.name}:** ${c.description}`).join('\n')}`);
|
||||
const { body } = await request
|
||||
|
||||
Reference in New Issue
Block a user