This commit is contained in:
ろむねこ 2024-07-16 13:25:28 +09:00
parent 0c4f39bb6e
commit 34cfb6e1a5
Signed by: Fujimatsu
GPG Key ID: FA1F39A1BA37D168

View File

@ -35,7 +35,7 @@ const HelloWorldIntentHandler = {
attributesManager.setPersistentAttributes(attributes);
await attributesManager.savePersistentAttributes();
const speakOutput = "HelloWorld! You've invoked me " + attributes.counter + " times"
const speakOutput = "HelloWorld! You've invoked me " + attributes.counter + " times and dialog value is " + Alexa.getSlotValue(handlerInput.requestEnvelope, 'exampleSlot');
return handlerInput.responseBuilder
.speak(speakOutput)