now we counting
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Simple_Not 2023-07-13 00:31:00 +10:00
parent f46ba32473
commit 2de30513b2

View File

@ -61,7 +61,7 @@ async def up_dick(message: types.Message):
user = candidate_cursor.pop() user = candidate_cursor.pop()
last_time = datetime.datetime.strptime(user['datetimes'], '%Y-%m-%d %H:%M:%S') last_time = datetime.datetime.strptime(user['datetimes'], '%Y-%m-%d %H:%M:%S')
time_to_grow = datetime.datetime.now().replace(hour=14, minute=8, second=8, microsecond=0) time_to_grow = datetime.datetime.now().replace(hour=14, minute=8, second=8, microsecond=0) + datetime.timedelta(days=-1)
if (time_to_grow - last_time).total_seconds() > 0: if (time_to_grow - last_time).total_seconds() > 0:
# пришло время крутить!! # пришло время крутить!!