This commit is contained in:
Pavel_Duron 2022-11-18 18:01:02 +10:00
parent 4907b0e524
commit 08c00b988c

6
bot.py
View File

@ -71,10 +71,10 @@ 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
diff = (now_time - last_time).days
print()
diff = now_time.day - last_time.day
if diff < 1:
if diff <= 0:
await bot.send_message(message.chat.id, f'@{message.from_user.username}, вы уже крутили пипису, ее размер {b.dick_size} см! ')
session.close_all()
print(diff)