From 8edb6ee2a3789bd1395c12c50b4f2c5f9ebf2dc8 Mon Sep 17 00:00:00 2001 From: Pavel_Duron Date: Tue, 1 Nov 2022 19:29:58 +1000 Subject: [PATCH] fix --- bot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bot.py b/bot.py index 432938a..5632c32 100644 --- a/bot.py +++ b/bot.py @@ -23,9 +23,9 @@ async def start_func(message: types.Message): async def send_image(message: types.Message): await bot.send_photo(message.chat.id, photo='https://memepedia.ru/wp-content/uploads/2018/08/ya-pidoras.jpg') -@dp.message_handler(text = "хто я") +@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='https://www.meme-arsenal.com/memes/ecebd2339c7eab40e09874bd86a38a09.jpg') #хуй