forked from Pavel_Durov/python_bot
fix time null day
This commit is contained in:
parent
e6d7d5f53f
commit
d7813e2b42
2
bot.py
2
bot.py
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user