forked from Pavel_Durov/python_bot
тст
This commit is contained in:
parent
6c17598623
commit
7cba5b3eb5
6
bot.py
6
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()
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user