forked from Sanders/TelegaBot
fix: Escape exclamation mark in book addition confirmation message
This commit is contained in:
@@ -120,7 +120,7 @@ public class BookCreationServiceImpl implements BookCreationService {
|
||||
telegramClientService.sendMessageWithMarkdown(user, "🎉 *Поздравляю с прочтением\\!*\n\n" + escapeNonMarkdown(congrat));
|
||||
} catch (Exception e) {
|
||||
log.error("Error generating congratulation for user {}", user.getId(), e);
|
||||
telegramClientService.sendMessage(user, "📚 Спасибо за добавление книги!");
|
||||
telegramClientService.sendMessage(user, "📚 Спасибо за добавление книги\\!");
|
||||
}
|
||||
} else {
|
||||
stats = formatBookLeftStats(weeksLeft, target, read, left);
|
||||
|
||||
Reference in New Issue
Block a user