bots: Rename BotHandlerApi object client
to bot_handler
.
This commit is contained in:
parent
c193443541
commit
fcb4cf6721
24 changed files with 91 additions and 91 deletions
|
@ -28,9 +28,9 @@ class EncryptHandler(object):
|
|||
Feeding encrypted messages into the bot decrypts them.
|
||||
'''
|
||||
|
||||
def handle_message(self, message, client, state_handler):
|
||||
def handle_message(self, message, bot_handler, state_handler):
|
||||
bot_response = self.get_bot_encrypt_response(message)
|
||||
client.send_reply(message, bot_response)
|
||||
bot_handler.send_reply(message, bot_response)
|
||||
|
||||
def get_bot_encrypt_response(self, message):
|
||||
original_content = message['content']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue