forked from Pavel_Durov/python_bot
тст
This commit is contained in:
parent
0b5305c02a
commit
171cdfc5fe
6
bot.py
6
bot.py
@ -46,10 +46,10 @@ async def dick(message: types.Message):
|
|||||||
|
|
||||||
@dp.message_handler(commands=["id"])
|
@dp.message_handler(commands=["id"])
|
||||||
async def ident(message: types.Message):
|
async def ident(message: types.Message):
|
||||||
id = message.from_user.id
|
id1 = message.from_user.id
|
||||||
fullname = message.from_user.fullname
|
fullname1 = message.from_user.full_name
|
||||||
#await sql.add_user()
|
#await sql.add_user()
|
||||||
await bot.send_message(message.chat.id, f'{id} {fullname}')
|
await bot.send_message(message.chat.id, f'{id1} + {fullname1}')
|
||||||
#await sql.db.close()
|
#await sql.db.close()
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user