marcy-terui / serverless-alexa-skills

Manage your Alexa Skills with Serverless Framework
https://www.npmjs.com/package/serverless-alexa-skills
MIT License
71 stars 13 forks source link

Option for Launch Request #19

Closed danquack closed 6 years ago

danquack commented 6 years ago

I can’t find any info in the readme or through users examples, but I’m looking to add a launch request. Can you provide an example of how to do so?

danielrbradley commented 6 years ago

There's no configuration you have to add for launch requests - you just need to add a handler in your code. All custom skills will automatically trigger a launch request if the user invokes the skill without an intent. E.g. https://github.com/danielrbradley/alexa-typescript-demo/blob/master/handler.ts#L118-L124

danquack commented 6 years ago

@danielrbradley ah thanks.