Skip to content

Commit

Permalink
removed from docs
Browse files Browse the repository at this point in the history
  • Loading branch information
misyak committed Dec 23, 2016
1 parent 4253a21 commit 9e29561
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 15 deletions.
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,15 +125,12 @@ app.setShouldEndSessionByDefault(true);

### Create Intents

You have multiple options for creating intents. You can create named intents, intents with automatically generated name or intents with multiple sample utterances.
You have to give a name for the intent when you are creating it. Also you can set multiple utterances for any of your intents.

```javascript
// Named intent
app.intent('MyIntent', 'Hello Alexa my name is Michael', () => 'Hi Michael');

// Generated intent name
app.intent(null, 'Hello Alexa what is in my calendar for today', () => 'Your calendar is empty. Enjoy');

// Intent with more utterances
app.intent('AnotherIntent', ['Hello', 'Hi', 'Whats up'], () => 'Hello yourself');
```
Expand Down
10 changes: 0 additions & 10 deletions examples/unnamed-intent.js

This file was deleted.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
"toc": "doctoc README.md --github"
},
"dependencies": {
"bases": "^0.2.1",
"debug": "^2.3.0",
"doctoc": "^1.2.0",
"glob": "^7.1.1",
Expand Down

0 comments on commit 9e29561

Please sign in to comment.