fix
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Pavel_Duron 2022-11-01 20:22:58 +10:00
parent fdc32e8d18
commit b2160eac83

2
bot.py
View File

@ -23,7 +23,7 @@ async def start_func(message: types.Message):
async def send_image(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') await bot.send_photo(message.chat.id, photo='https://memepedia.ru/wp-content/uploads/2018/08/ya-pidoras.jpg')
@dp.message_handler(text_contains='хто я') @dp.message_handler(content_types=types.ContentTypes.TEXT)
async def send_faggot(message: types.Message): async def send_faggot(message: types.Message):
print(message.text) print(message.text)
if message.text == 'хто я': if message.text == 'хто я':