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
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
def async_handle(self, intent): """Handle the intent.""" intents.append(intent) return intent.create_response()