From 57de6733b62c83ff197f9236f71545d8ef1e1103 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 29 May 2021 04:01:47 +0000 Subject: Automatically format code --- src/commands/info/help.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/commands/info/help.ts') diff --git a/src/commands/info/help.ts b/src/commands/info/help.ts index 7f6c8f4..0629bf1 100644 --- a/src/commands/info/help.ts +++ b/src/commands/info/help.ts @@ -59,10 +59,14 @@ export default class HelpCommand extends BushCommand { const embed = new MessageEmbed() .setColor([155, 200, 200]) .setTitle(`\`${command.description.usage ? command.description.usage : ''}\``) - .addField('Description', `${command.description.content ? command.description.content : ''} ${command.ownerOnly ? '\n__Owner Only__' : ''}`); + .addField( + 'Description', + `${command.description.content ? command.description.content : ''} ${command.ownerOnly ? '\n__Owner Only__' : ''}` + ); if (command.aliases.length > 1) embed.addField('Aliases', `\`${command.aliases.join('` `')}\``, true); - if (command.description.examples && command.description.examples.length) embed.addField('Examples', `\`${command.description.examples.join('`\n`')}\``, true); + if (command.description.examples && command.description.examples.length) + embed.addField('Examples', `\`${command.description.examples.join('`\n`')}\``, true); return embed; } } -- cgit