My wizard scene only works after I comment on the bot.on('txt') handler
bot.on('text', async (ctx) => {
try {
switch (ctx.message.text) {//my code}
} catch (e) {
console.error(e)
}
})
My handler for wizard-scene
stepHandler.on('text', async (ctx) => {
await ctx.reply('Step 2. Via command')
return ctx.wizard.next()
})
Please advise how to solve this problem