update help cmd

This commit is contained in:
Lee 2024-12-27 13:54:30 +00:00
parent b3a6284e40
commit c424694068

View File

@ -88,7 +88,10 @@ public class HelpCommand extends BatCommand implements EventListener {
}
event.replyEmbeds(createHomeEmbed(event.isFromGuild())).addComponents(interactionBuilder.build()).queue();
event.replyEmbeds(createHomeEmbed(event.isFromGuild()))
.addComponents(interactionBuilder.build())
.setEphemeral(true)
.queue();
}
/**
@ -103,7 +106,7 @@ public class HelpCommand extends BatCommand implements EventListener {
continue;
}
long commandCount = commandService.getCommandsByCategory(category, ranInsideGuild).size();
categories.append("➜ %s - **%s Command%s**\n".formatted(
categories.append("- %s: `%s Command%s`\n".formatted(
category.getName(),
commandCount,
commandCount == 1 ? "" : "s"