mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Examples
This commit is contained in:
@@ -34,6 +34,8 @@ module.exports = class HelpCommand extends Command {
|
||||
**Format**: ${msg.anyUsage(`${data.name} ${data.format || ''}`)}
|
||||
**Aliases**: ${data.aliases.join(', ') || 'None'}
|
||||
**Group**: ${data.group.name} (\`${data.groupID}:${data.memberName}\`)
|
||||
**Examples**:
|
||||
${data.examples.join('\n') || 'None'}
|
||||
`);
|
||||
} else if (commands.length > 1) {
|
||||
return msg.say(`Multiple commands found: ${commands.map(cmd => cmd.name).join(', ')}`);
|
||||
|
||||
Reference in New Issue
Block a user