From 940a832561cb8cce7c3fa6586a93286615571751 Mon Sep 17 00:00:00 2001 From: Akulij Date: Wed, 21 May 2025 12:33:03 +0500 Subject: [PATCH] mainbot.js: use function in handler instead of string function name --- mainbot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mainbot.js b/mainbot.js index 7762b7b..91a5450 100644 --- a/mainbot.js +++ b/mainbot.js @@ -23,7 +23,7 @@ const dialog = { // 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", + handler: enter_name, state: "none" }, },