zulip_bots: Make state_handler property of bot_handler.
This commit is contained in:
parent
45c38d0dcf
commit
eb6982e670
25 changed files with 51 additions and 51 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue