botpress / botpress-examples

55 stars 35 forks source link

How to fetch the user's text #13

Open MounaHGowda opened 5 years ago

MounaHGowda commented 5 years ago

bp.hear({ type:/message|text/i, text:/|Looking/i },(event,next)=>{ event.reply('#Welcome'), response => {bp.logger.debug(response) } }) here, how to capture user's response.