diff --git a/commands/message/core/help.js b/commands/message/core/help.js index 11b2943..e7d1522 100644 --- a/commands/message/core/help.js +++ b/commands/message/core/help.js @@ -9,7 +9,7 @@ const { hasFeature } = require('#utils/testing'); function createHelpPage(context, title, contents, descriptions) { return page(createEmbed("default", context, { - description: `${title}\n\n` + + description: `### ${title}\n\n` + renderCommandList(contents, descriptions) + `\n\n${icon("question")} Use ${smallPill(`${DEFAULT_PREFIXES[0]}help `)} to view more information about a command.` + `\n${icon("discord")} Need help with anything else? ${DISCORD_INVITES.help}` @@ -37,7 +37,7 @@ function renderCommandList(commands, descriptions, limit) { } function createCommandPage(context, prefix, command, slashCommands) { - alias = ' ​ ' + alias = ''; if (command.aliases.length >= 1) { for (const al of command.aliases) alias += smallPill(al) alias += "\n" @@ -61,7 +61,7 @@ function createCommandPage(context, prefix, command, slashCommands) { } let cPage = createEmbed("default", context, { - description: `${icon("slash")} ${smallPill(command.name)}\n${alias}${explicit}\n${command.metadata.description}`, + description: `### ${icon("slash")} ${command.name}\n${alias}${explicit}\n${command.metadata.description}`, fields: [] }) @@ -108,14 +108,12 @@ function createCommandPage(context, prefix, command, slashCommands) { // These categories will be displayed to users, add them in the correct order const categories = { - "core": `${iconPill("home", "Core Commands")}`, - "info": `${iconPill("information", "Information Commands")}`, - "search": `${iconPill("mag", "Search Commands")}`, - "utils": `${iconPill("tools", "Utility Commands")}`, - "fun": `${iconPill("stars", "Fun Commands")}`, -// Image Manipulation commands have been sunset as of 09/09/2024 -//"image": `${iconPill("image", "Image Commands")}`, - "mod": `${iconPill("shield", "Moderation Commands")}` + "core": `${icon("home")} Core Commands`, + "info": `${icon("information")} Information Commands`, + "search": `${icon("mag")} Search Commands`, + "utils": `${icon("tools")} Utility Commands`, + "fun": `${icon("stars")} Fun Commands`, + "mod": `${icon("shield")} "Moderation Command}` } module.exports = {