update help cmd
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 1m8s
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 1m8s
This commit is contained in:
parent
fc1216be25
commit
d3661127cf
@ -106,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"
|
||||
@ -115,13 +115,15 @@ public class HelpCommand extends BatCommand implements EventListener {
|
||||
|
||||
return EmbedUtils.genericEmbed()
|
||||
.setDescription("""
|
||||
**Welcome to the Bat Help Menu!**%s
|
||||
|
||||
%s
|
||||
**Welcome to the Bat Help Menu!**
|
||||
|
||||
Bat is a multi-purpose bot that has a variety of features to help you with your server. You can change the category be clicking on the category name in the list below.
|
||||
|
||||
%s%s
|
||||
*View our [TOS](%s) and [Privacy Policy](%s) for more information.*
|
||||
""".formatted(
|
||||
!ranInsideGuild ? "\n*guild only commands won't be shown here*" : "",
|
||||
categories.toString(),
|
||||
!ranInsideGuild ? "\n*guild only commands won't be shown here*" : "",
|
||||
Consts.TERMS_OF_SERVICE_URL,
|
||||
Consts.PRIVACY_POLICY_URL
|
||||
))
|
||||
|
Loading…
x
Reference in New Issue
Block a user