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
|
@ -11,8 +11,8 @@ class HelloWorldHandler(object):
|
|||
sophisticated, bots.
|
||||
'''
|
||||
|
||||
def handle_message(self, message, client, state_handler):
|
||||
def handle_message(self, message, bot_handler, state_handler):
|
||||
content = 'beep boop'
|
||||
client.send_reply(message, content)
|
||||
bot_handler.send_reply(message, content)
|
||||
|
||||
handler_class = HelloWorldHandler
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue