diff --git a/index.js b/index.js index a013627..539700d 100644 --- a/index.js +++ b/index.js @@ -11,29 +11,20 @@ const v = 4; // also edit the intents "-1.0 No/Bye" and "1.0 Default Welcome Int // make this the only global variable for the complex parsing var codeVariables = []; -function hasScreenOutput(request) { - if (request !== undefined) { - let requestPayload = request.body.originalDetectIntentRequest.payload; - if (requestPayload.surface && requestPayload.surface.capabilities && requestPayload.surface.capabilities[0]) { - for (let i=0; i