Improve help command title
This commit is contained in:
parent
215e597a4d
commit
de34caa513
@ -139,10 +139,13 @@ public class HelpCommand implements MessageCommand
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
String title = command.getCategory().getEmoji() +
|
||||||
|
" \"" + WordUtils.capitalizeFully(commandLabel + "\" help");
|
||||||
|
|
||||||
EmbedBuilder embedBuilder = new EmbedBuilder();
|
EmbedBuilder embedBuilder = new EmbedBuilder();
|
||||||
|
|
||||||
embedBuilder.setColor(Cache.getBotColor());
|
embedBuilder.setColor(Cache.getBotColor());
|
||||||
embedBuilder.setTitle(WordUtils.capitalizeFully(commandLabel + " help"));
|
embedBuilder.setTitle(title);
|
||||||
|
|
||||||
embedBuilder.addField("Description", command.getDescription(), false);
|
embedBuilder.addField("Description", command.getDescription(), false);
|
||||||
embedBuilder.addField("Usage", usage, false);
|
embedBuilder.addField("Usage", usage, false);
|
||||||
|
Loading…
Reference in New Issue
Block a user