Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
roger-king committed May 17, 2019
2 parents 693a9db + 22ed579 commit 1303ab8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/docs/conversations.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Dialogs are created using functions like [convo.ask()](reference/core.md#ask) an
To use BotkitConversations, make sure to import the class along with Botkit:

```javascript
const { Botkit, BotkitConversation } = require('botkit';
const { Botkit, BotkitConversation } = require('botkit');
```

## Anatomy of a Botkit Conversation
Expand Down Expand Up @@ -88,7 +88,7 @@ convo.addQuestion('Now, what is your favorite color?', async(response, convo, bo
},'color', 'favorite_color');

// go to a confirmation
convo.addAction('confirmation');
convo.addAction('confirmation' ,'favorite_color');

// do a simple conditional branch looking for user to say "no"
convo.addQuestion('Your name is {{vars.name}} and your favorite color is {{vars.color}}. Is that right?', [
Expand Down Expand Up @@ -334,4 +334,4 @@ convo.after(async(results, bot) => {
// await bot.beginDialog(NEXT_DIALOG);
}
});
```
```

0 comments on commit 1303ab8

Please sign in to comment.