Skip to content

Commit

Permalink
Updated Example aholstenson#1 to match up with the source code
Browse files Browse the repository at this point in the history
  • Loading branch information
lyndenz authored Feb 9, 2019
1 parent db7f473 commit e702ccf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const ecolect = require('ecolect');
const en = require('ecolect/language/en');
const { any } = require('ecolect/values');

const intents = ecolect.intents(en)
const intents = ecolect.intentsBuilder(en)
.intent('lights:on')
.value('room', any())
.add('turn lights on')
Expand Down

0 comments on commit e702ccf

Please sign in to comment.