Add examples

This commit is contained in:
Dragon Fire
2024-05-16 17:16:00 -04:00
parent 9d00180cb3
commit 986d5d90fb
28 changed files with 138 additions and 32 deletions
+1
View File
@@ -75,6 +75,7 @@ module.exports = class HelpCommand extends Command {
cmdHelpText += `**Flags:**\n${flags}\n`;
}
cmdHelpText += `**Format:** ${command.usage()}\n`;
cmdHelpText += `**Example:** ${command.example(msg)}\n`;
if (command.aliases.length) cmdHelpText += `**Aliases:** ${command.aliases.join(', ')}\n`;
cmdHelpText += `**Group:** ${command.group.name}\n`;
return msg.say(cmdHelpText);