Skip to content

Commit

Permalink
chore: temporary disable echo handler
Browse files Browse the repository at this point in the history
  • Loading branch information
orenlab committed Jan 17, 2025
1 parent 082dac9 commit eed4a01
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pytmbot/pytmbot_instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
from pytmbot.handlers.handler_manager import (
handler_factory,
inline_handler_factory,
echo_handler_factory,
#echo_handler_factory,
)
from pytmbot.logs import Logger, BaseComponent
from pytmbot.middleware.access_control import AccessControl
Expand Down Expand Up @@ -199,7 +199,6 @@ def register_handler_chain(self) -> None:
handlers_config = [
(handler_factory, self.bot.register_message_handler),
(inline_handler_factory, self.bot.register_callback_query_handler),
(echo_handler_factory, self.bot.register_message_handler),
]

context = {"action": "handlers_registration"}
Expand Down

0 comments on commit eed4a01

Please sign in to comment.