diff --git a/app/config.py b/app/config.py index e375f50..8471cfb 100644 --- a/app/config.py +++ b/app/config.py @@ -10,16 +10,16 @@ if not BOT_TOKEN: # Services catalog SERVICES = { - "service_massage": "Массаж", - "service_spa": "SPA", - "service_cosmetology": "Косметология", + "service_massage": "💪 Массаж", + "service_spa": "🎈 SPA", + "service_cosmetology": "💄 Косметология", } # Masters list MASTERS = { - "master_anna": "Анна", - "master_maria": "Мария", - "master_alex": "Алексей", + "master_anna": "👸 Анна", + "master_maria": "💃 Мария", + "master_alex": "🧑‍⚖️ Алексей", } # Available time slots diff --git a/app/handlers/about.py b/app/handlers/about.py index 6ed44ae..17c0ece 100644 --- a/app/handlers/about.py +++ b/app/handlers/about.py @@ -5,7 +5,7 @@ from aiogram.fsm.context import FSMContext router = Router() -@router.message(F.text == "ℹ️ О компании") +@router.message(F.text == "ℹ️ О нас") async def about(message: Message, state: FSMContext): await state.clear() # 🔥 СБРОС FSM diff --git a/app/handlers/booking.py b/app/handlers/booking.py index 1af6998..e51b2ec 100644 --- a/app/handlers/booking.py +++ b/app/handlers/booking.py @@ -125,7 +125,7 @@ async def choose_date( data = await state.get_data() - busy_times = get_busy_times( + busy_times = await get_busy_times( master=data.get('master', '?'), date=selected_date ) diff --git a/app/handlers/mybookings.py b/app/handlers/mybookings.py index 1bbd4f0..87cc4ed 100644 --- a/app/handlers/mybookings.py +++ b/app/handlers/mybookings.py @@ -23,7 +23,7 @@ router = Router() @router.message( - F.text == "📖 Мои записи" + F.text == "📄 Мои записи" ) async def my_bookings( message: Message