Explain how to use commands in help

This commit is contained in:
Dragon Fire
2020-11-20 16:54:33 -05:00
parent d8c76bd53f
commit 78f27d0fd3
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -52,6 +52,7 @@ module.exports = class HelpCommand extends Command {
embeds[embedIndex].addField(` ${group.name}`, commands.map(cmd => `\`${cmd.name}\``).join(' '));
}
const allShown = cmdCount === this.client.registry.commands.size;
embeds[0].setDescription(`To run a command, use ${msg.anyUsage('<command>')}.`);
embeds[embeds.length - 1]
.setFooter(`${this.client.registry.commands.size} Commands${allShown ? '' : ` (${cmdCount} Shown)`}`);
try {
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiao",
"version": "119.45.1",
"version": "119.45.2",
"description": "Your personal server companion.",
"main": "Xiao.js",
"scripts": {