From f5a894fe37afb74f0a1f52e7fceaa99e1fe0bb0b Mon Sep 17 00:00:00 2001 From: Akulij Date: Wed, 21 May 2025 12:31:43 +0500 Subject: [PATCH] mainbot.js: change comment style for handler example --- mainbot.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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" }, },