From 6aba2e43968e36a85b4195fefaf9846416be71cd Mon Sep 17 00:00:00 2001 From: Klaus-Uwe Mitterer Date: Thu, 23 Mar 2017 18:37:01 +0100 Subject: [PATCH] Actually enable the new methods --- telegrambot.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/telegrambot.py b/telegrambot.py index 1e474e7..8a5fae4 100755 --- a/telegrambot.py +++ b/telegrambot.py @@ -12,6 +12,8 @@ if __name__ == "__main__": updater = telegram.ext.Updater(token=setuptools.token()) updater.dispatcher.add_handler(telegram.ext.CommandHandler("auth", bottools.methods.auth)) + updater.dispatcher.add_handler(telegram.ext.CommandHandler("broadcast", bottools.methods.broadcast, pass_args=True)) + updater.dispatcher.add_handler(telegram.ext.CommandHandler("emergency", bottools.methods.emergency, pass_args=True)) updater.dispatcher.add_handler(telegram.ext.CommandHandler("fish", bottools.methods.fish)) updater.dispatcher.add_handler(telegram.ext.CommandHandler("follow", bottools.methods.follow, pass_args=True)) updater.dispatcher.add_handler(telegram.ext.CommandHandler("help", bottools.methods.start))