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

This commit is contained in:
Pavel_Duron 2022-12-01 17:13:01 +10:00
parent e6d7d5f53f
commit d7813e2b42

2
bot.py
View File

@ -74,7 +74,7 @@ async def ident(message: types.Message):
diff = now_time.day - last_time.day
if diff <= 0:
if abs(diff) <= 0:
await bot.send_message(message.chat.id, f'@{message.from_user.username},🚫 вы уже крутили пипису, ее размер <b>{b.dick_size}</b> см! ')
session.close_all()
print(diff)