develop #3

Merged
Arsen Mirzaev Tatyano-Muradovich merged 77 commits from Alex/stcs:develop into stable 2025-09-07 20:55:41 +07:00
15 changed files with 858 additions and 352 deletions
Showing only changes of commit f895c19b14 - Show all commits

View File

@@ -257,7 +257,9 @@ async def start_trading_process(callback: CallbackQuery, state: FSMContext):
# Проверяем таймер и информируем пользователя
timer_minutes = await rq.get_user_timer(tg_id)
timer_data = await rq.get_user_timer(tg_id)
timer_minutes = timer_data.get('timer') if isinstance(timer_data, dict) else timer_data
if timer_minutes and timer_minutes > 0:
await message.answer(f"Торговля будет работать по таймеру: {timer_minutes} мин.")
asyncio.create_task(trading_cycle(tg_id, message))