Add Total to generate-commands

This commit is contained in:
Dragon Fire
2020-03-13 18:04:05 -04:00
parent 46d064f18f
commit d82769fca7
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ module.exports = class GenerateCommandsCommand extends Command {
).join('\n')}`);
const { body } = await request
.post('https://hastebin.com/documents')
.send(list.join('\n'));
.send(`Total: ${this.client.registry.commands.size}\n${list.join('\n')}`);
return msg.say(`https://hastebin.com/raw/${body.key}`);
}
};