link generator/ router and vless support/ selective server billing/ traffic usage counting/ cosmetic improvements and bug fixes

This commit is contained in:
Vladless
2025-09-30 19:17:05 +03:00
parent 8e8dcab230
commit 608b520b72
29 changed files with 1735 additions and 465 deletions
+1 -1
View File
@@ -1501,7 +1501,7 @@ async def handle_create_key_duration(callback_query: CallbackQuery, state: FSMCo
duration_days = tariff["duration_days"]
client_id = str(uuid.uuid4())
email = generate_random_email()
email = await generate_random_email(session=session)
expiry = datetime.now(tz=timezone.utc) + timedelta(days=duration_days)
expiry_ms = int(expiry.timestamp() * 1000)