now we counting
All checks were successful
continuous-integration/drone/push Build is passing

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") dt = datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S")
metadata = dicks_collection.insert( metadata = dicks_collection.insert(
{ {
#'_key': user['_key'], '_key': user['_key'],
#'_id': user['_id'], '_id': user['_id'],
#'_rev': user['_rev'], #'_rev': user['_rev'],
'user_id': message.from_user.id, 'user_id': message.from_user.id,
'user_fullname': user['user_fullname'], 'user_fullname': user['user_fullname'],
@ -100,8 +100,8 @@ async def up_dick(message: types.Message):
try: try:
metadata = dicks_collection.insert( metadata = dicks_collection.insert(
{ {
#'_key': user['_key'], '_key': user['_key'],
#'_id': user['_id'], '_id': user['_id'],
#'_rev': user['_rev'], #'_rev': user['_rev'],
'user_id': user['attempts'] , 'user_id': user['attempts'] ,
'user_fullname': user['user_fullname'], 'user_fullname': user['user_fullname'],