forked from Pavel_Durov/python_bot
now we counting
This commit is contained in:
parent
361648f1c7
commit
53c48dbb44
@ -71,8 +71,8 @@ async def up_dick(message: types.Message):
|
||||
dt = datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S")
|
||||
metadata = dicks_collection.insert(
|
||||
{
|
||||
#'_key': user['_key'],
|
||||
#'_id': user['_id'],
|
||||
'_key': user['_key'],
|
||||
'_id': user['_id'],
|
||||
#'_rev': user['_rev'],
|
||||
'user_id': message.from_user.id,
|
||||
'user_fullname': user['user_fullname'],
|
||||
@ -100,8 +100,8 @@ async def up_dick(message: types.Message):
|
||||
try:
|
||||
metadata = dicks_collection.insert(
|
||||
{
|
||||
#'_key': user['_key'],
|
||||
#'_id': user['_id'],
|
||||
'_key': user['_key'],
|
||||
'_id': user['_id'],
|
||||
#'_rev': user['_rev'],
|
||||
'user_id': user['attempts'] ,
|
||||
'user_fullname': user['user_fullname'],
|
||||
|
Loading…
Reference in New Issue
Block a user