From 7cba5b3eb5f5930f3e348fe07ccc188dc013fac8 Mon Sep 17 00:00:00 2001 From: Pavel_Duron Date: Mon, 7 Nov 2022 20:12:54 +1000 Subject: [PATCH] =?UTF-8?q?=D1=82=D1=81=D1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bot.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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()