mainbot.js: use function in handler instead of string function name

This commit is contained in:
Akulij 2025-05-21 12:33:03 +05:00
parent a15cdeadf9
commit 940a832561

View File

@ -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"
},
},