пробую выгрузить пикчу с сервера
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
e481e4a813
commit
620e3fcd10
5
bot.py
5
bot.py
@ -1,3 +1,4 @@
|
||||
from cgitb import text
|
||||
import time
|
||||
import logging
|
||||
|
||||
@ -22,6 +23,10 @@ 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=open('/usr/share/python_bot/faggot.jpg', 'rb'))
|
||||
|
||||
#хуй
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
Loading…
Reference in New Issue
Block a user