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