Actually enable the new methods

This commit is contained in:
Klaus-Uwe Mitterer 2017-03-23 18:37:01 +01:00
parent a50b0c08b0
commit 6aba2e4396
1 changed files with 2 additions and 0 deletions

View File

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