aboutsummaryrefslogtreecommitdiff
path: root/src/commands/info/help.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/info/help.ts')
-rw-r--r--src/commands/info/help.ts10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/commands/info/help.ts b/src/commands/info/help.ts
index 3b7883f..629e57f 100644
--- a/src/commands/info/help.ts
+++ b/src/commands/info/help.ts
@@ -81,16 +81,10 @@ export default class HelpCommand extends BushCommand {
.setTitle(`${command.id} Command`)
.setDescription(`${command.description ?? '*This command does not have a description.*'}`);
if (command.usage?.length) {
- embed.addField(
- `» Usage${command.usage.length > 1 ? 's' : ''}`,
- command.usage.map((u) => `\`${u}\``).join('\n')
- );
+ embed.addField(`» Usage${command.usage.length > 1 ? 's' : ''}`, command.usage.map((u) => `\`${u}\``).join('\n'));
}
if (command.examples?.length) {
- embed.addField(
- `» Example${command.examples.length > 1 ? 's' : ''}`,
- command.examples.map((u) => `\`${u}\``).join('\n')
- );
+ embed.addField(`» Example${command.examples.length > 1 ? 's' : ''}`, command.examples.map((u) => `\`${u}\``).join('\n'));
}
if (command.aliases?.length > 1) embed.addField('» Aliases', `\`${command.aliases.join('` `')}\``);
if (