fix time
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Pavel_Duron 2022-11-18 14:34:42 +10:00
parent ac3dc9dfc6
commit a9803f5b04

2
bot.py
View File

@ -71,7 +71,7 @@ async def ident(message: types.Message):
b = session.query(user).filter(user.user_id == message.from_user.id).first()
now_time = datetime.datetime.now()
last_time = b.datetimes
if (now_time - last_time).days <= 0:
if (now_time - last_time).days == 0:
await bot.send_message(message.chat.id, f'@{message.from_user.username}, вы уже крутили пипису, ее размер {b.dick_size} см! ')
session.close_all()
else: