😊 Emoji в услуги, мастеров + fix await + соответствие кнопок

- config.py: добавлены emoji к услугам (💪 Массаж, 🎈 SPA, 💄 Косметология)
- config.py: добавлены emoji к мастерам (👸 Анна, 💃 Мария, 🧑‍⚖️ Алексей)
- booking.py: добавлен await перед get_busy_times (исправление ошибки)
- mybookings.py: текст кнопки "📖 Мои записи" → "📄 Мои записи"
- about.py: текст "ℹ️ О компании" → "ℹ️ О нас"
This commit is contained in:
DevProject Agent
2026-06-14 19:56:41 +04:00
parent 4db5ca696f
commit d7ee82e3a5
4 changed files with 9 additions and 9 deletions
+6 -6
View File
@@ -10,16 +10,16 @@ if not BOT_TOKEN:
# Services catalog # Services catalog
SERVICES = { SERVICES = {
"service_massage": "Массаж", "service_massage": "💪 Массаж",
"service_spa": "SPA", "service_spa": "🎈 SPA",
"service_cosmetology": "Косметология", "service_cosmetology": "💄 Косметология",
} }
# Masters list # Masters list
MASTERS = { MASTERS = {
"master_anna": "Анна", "master_anna": "👸 Анна",
"master_maria": "Мария", "master_maria": "💃 Мария",
"master_alex": "Алексей", "master_alex": "🧑‍⚖️ Алексей",
} }
# Available time slots # Available time slots
+1 -1
View File
@@ -5,7 +5,7 @@ from aiogram.fsm.context import FSMContext
router = Router() router = Router()
@router.message(F.text == "О компании") @router.message(F.text == "О нас")
async def about(message: Message, state: FSMContext): async def about(message: Message, state: FSMContext):
await state.clear() # 🔥 СБРОС FSM await state.clear() # 🔥 СБРОС FSM
+1 -1
View File
@@ -125,7 +125,7 @@ async def choose_date(
data = await state.get_data() data = await state.get_data()
busy_times = get_busy_times( busy_times = await get_busy_times(
master=data.get('master', '?'), master=data.get('master', '?'),
date=selected_date date=selected_date
) )
+1 -1
View File
@@ -23,7 +23,7 @@ router = Router()
@router.message( @router.message(
F.text == "📖 Мои записи" F.text == "📄 Мои записи"
) )
async def my_bookings( async def my_bookings(
message: Message message: Message