Update main.py

This commit is contained in:
Egor
2026-01-17 03:31:39 +03:00
committed by GitHub
parent e3fb2ec854
commit c0e3e329af

View File

@@ -209,6 +209,11 @@ async def show_balance_menu(
db_user: User,
db: AsyncSession
):
# Проверяем, доступно ли сообщение
if isinstance(callback.message, InaccessibleMessage):
await callback.answer()
return
texts = get_texts(db_user.language)
balance_text = texts.BALANCE_INFO.format(