update help cmd
This commit is contained in:
parent
b3a6284e40
commit
c424694068
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user