Polling intervals updated

This commit is contained in:
Yigit Colakoglu 2024-09-10 14:27:43 +02:00
parent 556596d6bf
commit eb9f04e0ba

View File

@ -409,6 +409,10 @@ class TelegramBot:
if time_until_slot < 3600: # If less than 1 hour if time_until_slot < 3600: # If less than 1 hour
return 300 # 5 minutes return 300 # 5 minutes
if time_until_slot < 3600 * 2: # If less than 2 hour
return 600 # 10 minutes
if time_until_slot < 3600 * 3: # If less than 3 hour
return 900 # 15 minutes
else: else:
return 1800 # 30 minutes return 1800 # 30 minutes