fix channel helper

This commit is contained in:
bakatrouble 2019-11-12 20:25:23 +03:00
parent 58806f2103
commit 58168a90b0

View File

@ -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