This commit is contained in:
parent
3a1ea7e56c
commit
7eecab26bd
6
bot.py
6
bot.py
@ -14,9 +14,9 @@ dp = Dispatcher(bot)
|
||||
|
||||
@dp.message_handler(commands=['start'])
|
||||
async def start_func(message: types.Message):
|
||||
user_id = message.from_user.id
|
||||
user_full_name = message.from_user.full_name
|
||||
logging.INFO(f'{user_id=} {user_full_name=}', {time.asctime()})
|
||||
# user_id = message.from_user.id
|
||||
# user_full_name = message.from_user.full_name
|
||||
# logging.INFO(f'{user_id=} {user_full_name=}', {time.asctime()})
|
||||
await message.reply('hello')
|
||||
|
||||
@dp.message_handler(commands=['photo'])
|
||||
|
Loading…
Reference in New Issue
Block a user