Answer the question
In order to leave comments, you need to log in
@vk-io/scenes how to go to next. scene only after the user's response?
Scene code:
sceneManager.addScenes([
new StepScene('signup', [
(context) => {
if (context.scene.step.firstTime || !context.text) {
context.send('A');
}
var neww = context.text;
return context.scene.step.next();
},
async (context) => {
await context.send(`${neww}`);
return context.scene.step.next();
}
])
]);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question