mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Explain how to use commands in help
This commit is contained in:
@@ -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
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xiao",
|
||||
"version": "119.45.1",
|
||||
"version": "119.45.2",
|
||||
"description": "Your personal server companion.",
|
||||
"main": "Xiao.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user