Documentation

Do you use documentation to use NewBot Framework

Generate a new project

Type the following command line to create a new project:

newbot new tvmaze

This will create an tvmaze folder with the files needed to complete the project.

The chatbot welcomes you

In the main.converse conversational script, let's put the following code:

@Event('start')
start() {
    @Format('quickReplies', ['search series'])
    > Welcome, I am TVMazeBot. What do you want to do ?
}

The chatbot offers a quick answer: to search for series.

© 2019 NewBot