fix channel helper
This commit is contained in:
parent
58806f2103
commit
58168a90b0
@ -83,5 +83,5 @@ class ChannelHelperBotModuleConfig(TelegramBotModuleConfig):
|
|||||||
r = bot.send_message(self.chat_id, m.text_html, 'html')
|
r = bot.send_message(self.chat_id, m.text_html, 'html')
|
||||||
|
|
||||||
def build_dispatcher(self, dispatcher: Dispatcher):
|
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
|
return dispatcher
|
||||||
|
Loading…
Reference in New Issue
Block a user