mainbot.js: use function in handler instead of string function name
This commit is contained in:
parent
a15cdeadf9
commit
940a832561
@ -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"
|
||||
},
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user