add command init character to help command response

This commit is contained in:
tschulz 2016-05-20 11:18:41 +02:00
parent 618fb80333
commit 9958d677e2

View File

@ -25,7 +25,7 @@ public class HelpCommand extends Command {
SendMessage sendMessage = new SendMessage(); SendMessage sendMessage = new SendMessage();
sendMessage.setChatId(chatId); sendMessage.setChatId(chatId);
sendMessage.enableHtml(true); sendMessage.enableHtml(true);
sendMessage.setText("<b>" + registeredCommand.getCommandIdentifier() + "</b>\n" + registeredCommand.getDescription()); sendMessage.setText("<b>" + COMMAND_INIT_CHARACTER + registeredCommand.getCommandIdentifier() + "</b>\n" + registeredCommand.getDescription());
try { try {
sendMessage(sendMessage); sendMessage(sendMessage);