zulip_bots: Make state_handler property of bot_handler.

This commit is contained in:
derAnfaenger 2017-10-23 12:17:46 +02:00
parent 45c38d0dcf
commit eb6982e670
25 changed files with 51 additions and 51 deletions

View file

@ -28,7 +28,7 @@ class EncryptHandler(object):
Feeding encrypted messages into the bot decrypts them.
'''
def handle_message(self, message, bot_handler, state_handler):
def handle_message(self, message, bot_handler):
bot_response = self.get_bot_encrypt_response(message)
bot_handler.send_reply(message, bot_response)