From 619c4def42a465db8bba773b867f35b11036b79f Mon Sep 17 00:00:00 2001 From: Pavel_Duron Date: Tue, 1 Nov 2022 19:34:30 +1000 Subject: [PATCH] fix --- bot.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bot.py b/bot.py index 5632c32..95df2c8 100644 --- a/bot.py +++ b/bot.py @@ -23,9 +23,8 @@ 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 = "хто я" ) -async def send_faggot(message: types.Message): - await bot.send_photo(message.chat.id, photo='https://www.meme-arsenal.com/memes/ecebd2339c7eab40e09874bd86a38a09.jpg') +if text == "хто я" + bot.send_photo(photo='https://www.meme-arsenal.com/memes/ecebd2339c7eab40e09874bd86a38a09.jpg') #хуй