async def async_handle(self, intent):
     """Handle the intent."""
     response = intent.create_response()
     response.async_set_speech(
         "I've ordered a {}!".format(intent.slots['type']['value']))
     response.async_set_card(
         "Beer ordered",
         "You chose a {}.".format(intent.slots['type']['value']))
     return response
Example #2
0
 async def async_handle(self, intent):
     """Handle the intent."""
     response = intent.create_response()
     response.async_set_speech("I've ordered a {}!".format(
         intent.slots["type"]["value"]))
     response.async_set_card(
         "Beer ordered",
         "You chose a {}.".format(intent.slots["type"]["value"]))
     return response
Example #3
0
 def async_handle(self, intent):
     """Handle the intent."""
     intents.append(intent)
     return intent.create_response()
Example #4
0
 def async_handle(self, intent):
     """Handle the intent."""
     intents.append(intent)
     return intent.create_response()