diff --git a/mainbot.js b/mainbot.js index 7e1fb9c..5c30f75 100644 --- a/mainbot.js +++ b/mainbot.js @@ -20,9 +20,10 @@ const dialog = { stateful_msg_handlers: { start: {}, // everything is by default, so just send message `start` enter_name: { - handler: "enter_name", // name of the handler function. This field has a - // side effect: when is set, no automatic sending - // of message, should be sent manually in handler + // name of the handler function. This field has a side effect: + // when is set, no automatic sending of message, should be sent + // manually in handler + handler: "enter_name", state: "none" }, },