{})
                  
                  
                  
                  
                  
                  
                  
                  
                  how if i want it for all the function ?
                  
                  
                  like this function :
                  
                  
                  bot.on('text', (ctx) => {
                  
                  
                    if(ctx.message.text == "hello"){
                  
                  
                        ctx.reply("hello here")
                  
                  
                     }
                  
                  
                    else{
                  
                  
                        ctx.reply("vvvvvv")
                  
                  
                    }
                  
                  
                  })
                  
                  
                  
                  
                  
                  can i add it one time for the function ?
                  
                  
                
you forgot about await and error handling
Обсуждают сегодня