Skip to content

Commit

Permalink
🔥 Turn off echo function in bot (#14)
Browse files Browse the repository at this point in the history
Fixes #13
  • Loading branch information
b0g3r authored Mar 16, 2020
1 parent f9d4c37 commit c0b3e1b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ppm_telegram_bot/telegram/fsm.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "ppm-telegram-bot"
version = "0.1.6"
version = "0.1.7"
description = ""
authors = ["Dima Boger <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit c0b3e1b

Please sign in to comment.