forked from Pavel_Durov/python_bot
fix
This commit is contained in:
parent
a2aad0e497
commit
70c3e62162
2
bot.py
2
bot.py
@ -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 = "хто я" )
|
@dp.message_handler(text_contains='хто я')
|
||||||
async def send_faggot(message: types.Message):
|
async def send_faggot(message: types.Message):
|
||||||
await bot.send_photo(message.chat.id, photo='https://www.meme-arsenal.com/memes/ecebd2339c7eab40e09874bd86a38a09.jpg')
|
await bot.send_photo(message.chat.id, photo='https://www.meme-arsenal.com/memes/ecebd2339c7eab40e09874bd86a38a09.jpg')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user