Created
October 23, 2018 13:00
-
-
Save frivas/b0137ecf2e65bb53b92f4266e82b2e15 to your computer and use it in GitHub Desktop.
HelpIntentHandler. Medium Article. Creating an Alexa Skill Using Python
This file contains hidden or 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
class HelpIntentHandler(AbstractRequestHandler): | |
def can_handle(self, handler_input): | |
return is_intent_name("AMAZON.HelpIntent")(handler_input) | |
def handle(self, handler_input): | |
speechText = "Bienvenidos a la ayuda de Exploradores Fantásticos!. Sólo debes decirme una número o dejar que decida yo el número de objetos que buscaréis" | |
return handler_input.response_builder.speak(speechText).response |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment