From 58168a90b0d1a9730888527fcf33eb4f4a99db79 Mon Sep 17 00:00:00 2001 From: bakatrouble Date: Tue, 12 Nov 2019 20:25:23 +0300 Subject: [PATCH] fix channel helper --- bots/modules/channel_helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bots/modules/channel_helper.py b/bots/modules/channel_helper.py index c1be835..270f36a 100644 --- a/bots/modules/channel_helper.py +++ b/bots/modules/channel_helper.py @@ -83,5 +83,5 @@ class ChannelHelperBotModuleConfig(TelegramBotModuleConfig): r = bot.send_message(self.chat_id, m.text_html, 'html') def build_dispatcher(self, dispatcher: Dispatcher): - dispatcher.add_handler(MessageHandler(Filters.all, self.handle_message)) + dispatcher.add_handler(MessageHandler(Filters.private, self.handle_message)) return dispatcher