Created
October 23, 2018 13:02
-
-
Save frivas/8791cbbf10ec051afd79aea52c430f75 to your computer and use it in GitHub Desktop.
AllExceptionsHandler. Medium Article. Creating an Alexa Skill Using Python
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
class AllExceptionsHandler(AbstractExceptionHandler): | |
def can_handle(self, handler_input, exception): | |
return True | |
def handle(self, handler_input, exception): | |
speechText = "Lo siento, no he comprendido lo que me has dicho. Di, ayuda, para obtener más información sobre cómo jugar." | |
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