diff --git a/bot.py b/bot.py index 3b75627..94c365e 100644 --- a/bot.py +++ b/bot.py @@ -49,10 +49,10 @@ async def dick(message: types.Message): async def ident(message: types.Message): id1 = message.from_user.id fullname1 = message.from_user.full_name - sql.db_start() + await sql.db_start await bot.send_message(message.chat.id, f'{id1} + {fullname1}') - sql.add_user() - sql.close() + await sql.add_user + await sql.close #await sql.db.close()