now we counting

This commit is contained in:
Simple_Not 2023-07-13 00:40:55 +10:00
parent 361648f1c7
commit 53c48dbb44

View File

@ -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'],