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;
|
continue;
|
||||||
}
|
}
|
||||||
long commandCount = commandService.getCommandsByCategory(category, ranInsideGuild).size();
|
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(),
|
category.getName(),
|
||||||
commandCount,
|
commandCount,
|
||||||
commandCount == 1 ? "" : "s"
|
commandCount == 1 ? "" : "s"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user