2023-06-20 13:21:28 +10:00
|
|
|
from aiogram import types
|
2022-12-05 17:22:23 +10:00
|
|
|
from create_bot import dp, bot
|
|
|
|
|
2023-06-20 13:21:28 +10:00
|
|
|
|
2022-12-05 17:22:23 +10:00
|
|
|
@dp.message_handler(commands=['start'])
|
|
|
|
async def start_func(message: types.Message):
|
|
|
|
await message.reply('похуй')
|
|
|
|
|
2023-06-20 13:21:28 +10:00
|
|
|
|
2022-12-05 17:22:23 +10:00
|
|
|
@dp.message_handler(commands=['photo'])
|
|
|
|
async def send_image(message: types.Message):
|
2023-06-20 13:21:28 +10:00
|
|
|
await bot.send_photo(message.chat.id,
|
|
|
|
photo='https://memepedia.ru/wp-content/uploads/2018/08/ya-pidoras.jpg',
|
|
|
|
reply_to_message_id=message.message_id)
|
|
|
|
|
2022-12-05 17:22:23 +10:00
|
|
|
|
|
|
|
@dp.message_handler(content_types=types.ContentTypes.TEXT)
|
|
|
|
async def send_faggot(message: types.Message):
|
|
|
|
print(message.text)
|
|
|
|
if message.text == 'хто я':
|
2023-06-20 13:21:28 +10:00
|
|
|
await bot.send_photo(message.chat.id,
|
|
|
|
photo='https://www.meme-arsenal.com/memes/ecebd2339c7eab40e09874bd86a38a09.jpg')
|
2022-12-05 17:22:23 +10:00
|
|
|
|
|
|
|
|
2023-06-20 13:21:28 +10:00
|
|
|
# def register_handlers_StartHelp(dp: Dispatcher):
|
|
|
|
# dp.register_message_handler(start_func)
|
|
|
|
# dp.register_message_handler(send_faggot)
|
|
|
|
# dp.register_message_handler(send_image)
|