diff --git a/ppm_telegram_bot/telegram/fsm.py b/ppm_telegram_bot/telegram/fsm.py index b2b6834..6a94bac 100644 --- a/ppm_telegram_bot/telegram/fsm.py +++ b/ppm_telegram_bot/telegram/fsm.py @@ -12,6 +12,6 @@ from ppm_telegram_bot.telegram.dispatcher import dispatcher -@dispatcher.message_handler() -async def echo(message: types.Message) -> None: +@dispatcher.message_handler(commands=['healthcheck']) +async def echo_health_check(message: types.Message) -> None: await dispatcher.bot.send_message(message.chat.id, message.text) diff --git a/pyproject.toml b/pyproject.toml index 025505d..7aa2b01 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "ppm-telegram-bot" -version = "0.1.6" +version = "0.1.7" description = "" authors = ["Dima Boger "] license = "MIT"