This commit is contained in:
parent
2ef1bb10fd
commit
de1883d17f
3
bot.py
3
bot.py
@ -16,7 +16,7 @@ async def start_func(message: types.Message)
|
||||
user_full_name = message.from_user.full_name
|
||||
logging.INFO(f'{user_id=} {user_full_name=}', {time.asctime()})
|
||||
|
||||
await bot.send_photo(inputFile('PYTHON_BOT/ya-pidoras.jpg'))
|
||||
await bot.send_photo(types.input_file('PYTHON_BOT/ya-pidoras.jpg'))
|
||||
|
||||
if __name__ == '__main__':
|
||||
executor.start_polling(dp, skip_updates=True)
|
||||
@ -24,4 +24,3 @@ if __name__ == '__main__':
|
||||
|
||||
|
||||
|
||||
executor.start_polling(dp, skip_updates=True)
|
Loading…
Reference in New Issue
Block a user