Improve help command title

This commit is contained in:
Bea 2022-12-20 18:03:02 +01:00
parent 215e597a4d
commit de34caa513

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);