tools: Remove obsolete state_handler param from handle_message().

This commit is contained in:
derAnfaenger 2017-10-31 12:22:11 +01:00
parent 075e368818
commit aef41de37a

View file

@ -85,8 +85,7 @@ def main():
message_handler.initialize(mock_bot_handler) message_handler.initialize(mock_bot_handler)
message_handler.handle_message( message_handler.handle_message(
message=message, message=message,
bot_handler=mock_bot_handler, bot_handler=mock_bot_handler
state_handler=StateHandler()
) )
print("On sending {} bot the message \"{}\"".format(bot_name, args.message)) print("On sending {} bot the message \"{}\"".format(bot_name, args.message))
# send_reply and send_message have slightly arguments; the # send_reply and send_message have slightly arguments; the