diff options
Diffstat (limited to 'src/commands/info')
-rw-r--r-- | src/commands/info/help.ts | 10 | ||||
-rw-r--r-- | src/commands/info/userInfo.ts | 5 |
2 files changed, 6 insertions, 9 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 ( diff --git a/src/commands/info/userInfo.ts b/src/commands/info/userInfo.ts index 8ed6304..89d3c23 100644 --- a/src/commands/info/userInfo.ts +++ b/src/commands/info/userInfo.ts @@ -99,7 +99,10 @@ export default class UserInfoCommand extends BushCommand { if (member?.displayHexColor) serverUserInfo.push(`**Display Color:** ${member.displayHexColor}`); if (user.id == '322862723090219008' && message.guild?.id == client.consts.mappings.guilds.bush) serverUserInfo.push(`**General Deletions:** 1⅓`); - if ((['384620942577369088', '496409778822709251'] as const).includes(user.id) && message.guild?.id == client.consts.mappings.guilds.bush) + if ( + (['384620942577369088', '496409778822709251'] as const).includes(user.id) && + message.guild?.id == client.consts.mappings.guilds.bush + ) serverUserInfo.push(`**General Deletions:** ⅓`); if (member?.nickname) serverUserInfo.push(`**Nickname:** ${util.discord.escapeMarkdown(member?.nickname)}`); if (serverUserInfo.length) |