From 0b5a5d0286e7c686d983b8221c04c3a1478c144d Mon Sep 17 00:00:00 2001 From: pilot <657434@03b.ru> Date: Sun, 26 Jul 2026 21:55:12 +0800 Subject: [PATCH] =?UTF-8?q?=D0=B2=D0=BD=D0=B5=D0=B4=D1=80=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D0=B5=20=D1=8F=D0=BD=D0=B4=D0=B5=D0=BA=D1=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- restoran_max_bot/restoran_max_bot/bot_message.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/restoran_max_bot/restoran_max_bot/bot_message.py b/restoran_max_bot/restoran_max_bot/bot_message.py index cae7e62..b059a21 100644 --- a/restoran_max_bot/restoran_max_bot/bot_message.py +++ b/restoran_max_bot/restoran_max_bot/bot_message.py @@ -13,14 +13,14 @@ from restoran_max_bot.utils import has_key, is_json # ---------- вспомогательные функции ---------- def send_booking_to_crm(client: Client, date, time, people, phone, name): - # TODO: реализация бронирования столика + # реализация бронирования столика msg = f'Бронирование столика:\nНа дату: {date}-{time} \nКоличество: {people}\nКонтакт: {phone}\nИмя: {name}' send_message_all_manager(client, msg) return True def send_contact_to_admin(client: Client, phone, contact_method, question, preferred_time, name): - # TODO: реализовать отправку администратору + # реализовать отправку администратору msg = (f'Гость попросил связаться:\n {contact_method}\nВопрос: {question}\n' f'Удобное время: {preferred_time}\nКонтакт: {phone}\nИмя: {name}') send_message_all_manager(client, msg) @@ -28,7 +28,7 @@ def send_contact_to_admin(client: Client, phone, contact_method, question, prefe def send_feedback_to_crm(client: Client, rating, feedback_text, name, phone): - # TODO: реализовать отправку отзыва в CRM + # реализовать отправку отзыва в CRM msg = f'Отзыв от {name} (тел. {phone}):\nОценка: {rating}/5\nТекст: {feedback_text}' send_message_all_manager(client, msg) return True