forked from Pavel_Durov/python_bot
а если сократить путь
This commit is contained in:
parent
620e3fcd10
commit
432334964d
2
bot.py
2
bot.py
@ -25,7 +25,7 @@ async def send_image(message: types.Message):
|
||||
|
||||
@dp.message_handler(text = "хто я" )
|
||||
async def send_faggot(message: types.Message):
|
||||
await bot.send_photo(message.chat.id, photo=open('/usr/share/python_bot/faggot.jpg', 'rb'))
|
||||
await bot.send_photo(message.chat.id, photo=open('/faggot.jpg', 'rb'))
|
||||
|
||||
#хуй
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user