From aef41de37a8e48b8567039afbddf279802c5d2dc Mon Sep 17 00:00:00 2001 From: derAnfaenger Date: Tue, 31 Oct 2017 12:22:11 +0100 Subject: [PATCH] tools: Remove obsolete state_handler param from handle_message(). --- zulip_bots/zulip_bots/zulip_bot_output.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/zulip_bots/zulip_bots/zulip_bot_output.py b/zulip_bots/zulip_bots/zulip_bot_output.py index 3aff555..0479d36 100644 --- a/zulip_bots/zulip_bots/zulip_bot_output.py +++ b/zulip_bots/zulip_bots/zulip_bot_output.py @@ -85,8 +85,7 @@ def main(): message_handler.initialize(mock_bot_handler) message_handler.handle_message( message=message, - bot_handler=mock_bot_handler, - state_handler=StateHandler() + bot_handler=mock_bot_handler ) print("On sending {} bot the message \"{}\"".format(bot_name, args.message)) # send_reply and send_message have slightly arguments; the