From 57d313e4fe9293c86cd536e5b3a89261a179e636 Mon Sep 17 00:00:00 2001 From: Pavel_Duron Date: Mon, 7 Nov 2022 20:04:46 +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 7c34f0d..3b75627 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 + sql.db_start() await bot.send_message(message.chat.id, f'{id1} + {fullname1}') - sql.add_user - sql.close + sql.add_user() + sql.close() #await sql.db.close()