Renamed echo func and added on_shutdown func

This commit is contained in:
Kostiantyn Kriuchkov
2020-04-14 21:03:07 +03:00
parent 3c7040966b
commit f6fc1d1286
2 changed files with 2 additions and 2 deletions

View File

@@ -3,5 +3,5 @@ from loader import dp
@dp.message_handler()
async def bot_start(message: types.Message):
async def bot_echo(message: types.Message):
await message.answer(message.text)