Created
October 11, 2018 18:12
-
-
Save netomarin/7a06874a92d4e77e8de866e140a5f018 to your computer and use it in GitHub Desktop.
Daily update entity setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
app.intent('setup_price_update', (conv, {cryptocurrency}) => { | |
const intent = conv.arguments.get('UPDATE_INTENT'); | |
conv.ask(new RegisterUpdate({ | |
intent: intent, | |
arguments: [ | |
{ | |
name: 'cryptocurrency', | |
textValue: cryptocurrency, | |
}, | |
], | |
frequency: 'DAILY', | |
})); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment