forked from Pavel_Durov/python_bot
bring dick back.
This commit is contained in:
parent
460fccc6ab
commit
40927b95cc
@ -63,8 +63,8 @@ async def up_dick(message: types.Message):
|
|||||||
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)
|
||||||
|
|
||||||
if (time_to_grow - last_time).days > 0:
|
if (time_to_grow - last_time).total_seconds() > 0:
|
||||||
# прошло больше суток
|
# пришло время крутить!!
|
||||||
|
|
||||||
updetedDick = user["dick_size"] + numb
|
updetedDick = user["dick_size"] + numb
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user