How to use the ask-sdk-core.SkillBuilders.custom function in ask-sdk-core

To help you get started, we’ve selected a few ask-sdk-core examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github juliaqiuxy / slopeninja-backend / src / services / AlexaService / AlexaService.js View on Github external
constructor(resorts) {
    const skillBuilder = SkillBuilders.custom();

    skillBuilder.addRequestInterceptors(
      dataInterceptor(resorts),
      localizationInterceptor({
        en,
        'en-US': enUS,
      }),
    );
    skillBuilder.addRequestHandlers(
      launchHandler,
      getSnowConditionsDialogHandler,
      getSnowConditionsHandler,
      helpHandler,
      exitHandler,
      fallbackHandler,
      sessionEndedRequestHandler,