From c4246940689c7e14573bbdeb2199b6690d6ac8df Mon Sep 17 00:00:00 2001 From: Lee Date: Fri, 27 Dec 2024 13:54:30 +0000 Subject: [PATCH] update help cmd --- .../fascinated/bat/base/commands/general/HelpCommand.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/main/java/cc/fascinated/bat/base/commands/general/HelpCommand.java b/src/main/java/cc/fascinated/bat/base/commands/general/HelpCommand.java index d98f803..09d78d9 100644 --- a/src/main/java/cc/fascinated/bat/base/commands/general/HelpCommand.java +++ b/src/main/java/cc/fascinated/bat/base/commands/general/HelpCommand.java @@ -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"