From adedfadd927d48b94992f4498bc8cf2bee2eee20 Mon Sep 17 00:00:00 2001 From: Noah Date: Sat, 4 Dec 2021 20:58:19 -0600 Subject: [PATCH] Prettier --- Commands/help.js | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/Commands/help.js b/Commands/help.js index 6187134..2ed6624 100644 --- a/Commands/help.js +++ b/Commands/help.js @@ -26,20 +26,19 @@ module.exports = new Command({ async run(interaction) { let SupportStaff = interaction.guild.roles.cache.find( - (SupportTeam) => - SupportTeam.name === supportbot.Staff || SupportTeam.id === supportbot.Staff + SupportTeam.name === supportbot.Staff || + SupportTeam.id === supportbot.Staff ); let Admins = interaction.guild.roles.cache.find( (AdminUser) => AdminUser.name === supportbot.Admin || AdminUser.id === supportbot.Admin - ); if (!SupportStaff || !Admins) return interaction.reply( "Some roles seem to be missing!\nPlease check for errors when starting the bot." ); - + let botCommands = ""; botCommands += `**/${cmdconfig.HelpCommand}** ${cmdconfig.HelpCommandDesc}\n`; botCommands += `**/${cmdconfig.InfoCommand}** ${cmdconfig.InfoCommandDesc}\n`; @@ -73,7 +72,10 @@ module.exports = new Command({ .setColor(supportbot.EmbedColour) .setFooter(supportbot.EmbedFooter, interaction.user.displayAvatarURL()); - if (interaction.member.roles.cache.has(SupportStaff.id) || interaction.member.roles.cache.has(Admins.id)) { + if ( + interaction.member.roles.cache.has(SupportStaff.id) || + interaction.member.roles.cache.has(Admins.id) + ) { HelpEmbed1.addFields({ name: "🔐 Staff Commands\n", value: `${staffCommands}\n`, @@ -93,4 +95,4 @@ module.exports = new Command({ }); } }, -}); \ No newline at end of file +});