LucasBassetti / react-simple-chatbot

:speech_balloon: Easy way to create conversation chats
https://lucasbassetti.com.br/react-simple-chatbot/
MIT License
1.72k stars 596 forks source link

Close the chatbot and restart the steps #292

Open MoiFalcon5593 opened 3 years ago

MoiFalcon5593 commented 3 years ago

How can I close the chatbot and restart the steps? Please Help, Thanks.

urosran commented 3 years ago

Same question here, I've tried the following but to no avail { id: 'end-message', message: 'Thanks! Your ticket was submitted successfully, someone will be in touch soon!', trigger:"startOver", end: true }, { id: 'startOver', message: 'Would you like to start over and create another ticket?', options: [ { value: 'yes', label: 'yes', trigger: '2' }, { value: 'no', label: 'no', trigger: 'noProblem' }, ], }, { id: 'noProblem', message: "No problem at all, I'm always here if you need me!" }

honhaochen commented 3 years ago

The problem is asked before at here: https://github.com/LucasBassetti/react-simple-chatbot/issues/193