forked from Pavel_Durov/python_bot
test
This commit is contained in:
parent
d81f950f3f
commit
7a917d2794
3
bot.py
3
bot.py
@ -73,9 +73,12 @@ async def ident(message: types.Message):
|
|||||||
last_time = b.datetimes
|
last_time = b.datetimes
|
||||||
diff = (now_time - last_time).days
|
diff = (now_time - last_time).days
|
||||||
|
|
||||||
|
|
||||||
if diff <= 0:
|
if diff <= 0:
|
||||||
await bot.send_message(message.chat.id, f'@{message.from_user.username}, вы уже крутили пипису, ее размер {b.dick_size} см! ')
|
await bot.send_message(message.chat.id, f'@{message.from_user.username}, вы уже крутили пипису, ее размер {b.dick_size} см! ')
|
||||||
session.close_all()
|
session.close_all()
|
||||||
|
print(diff)
|
||||||
|
print(type(diff))
|
||||||
else:
|
else:
|
||||||
a = session.query(user).filter(user.user_id == message.from_user.id).first() # запрос на поиск в таблице
|
a = session.query(user).filter(user.user_id == message.from_user.id).first() # запрос на поиск в таблице
|
||||||
a.dick_size = (a.dick_size + numb)
|
a.dick_size = (a.dick_size + numb)
|
||||||
|
Loading…
Reference in New Issue
Block a user