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")
|
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'],
|
||||||
|
Loading…
Reference in New Issue
Block a user