channel-block-tg/handlers/users/echo.py
Kostiantyn Kriuchkov 43b241d4e7 Separated loader with dp, bot and storage and added app,
which we'll be executing
2020-04-14 10:54:17 +03:00

8 lines
156 B
Python

from aiogram import types
from loader import dp
@dp.message_handler()
async def bot_start(message: types.Message):
await message.answer(message.text)