Improve help command title
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Bea 2022-12-20 18:03:02 +01:00
parent 4f408fb5f9
commit 84ff5a752e

View File

@ -139,10 +139,13 @@ public class HelpCommand implements MessageCommand
}
}
String title = command.getCategory().getEmoji() +
" \"" + WordUtils.capitalizeFully(commandLabel + "\" help");
EmbedBuilder embedBuilder = new EmbedBuilder();
embedBuilder.setColor(Cache.getBotColor());
embedBuilder.setTitle(WordUtils.capitalizeFully(commandLabel + " help"));
embedBuilder.setTitle(title);
embedBuilder.addField("Description", command.getDescription(), false);
embedBuilder.addField("Usage", usage, false);