Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
37 lines (32 sloc) 1.14 KB
/*
* Kingsgate Media Player
* Copyright (C) 2016 Jon Burney (jon@version7.co.uk)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
'use strict';
var Alexa = require("alexa-sdk");
var handlers = require("./handlers");
var constants = require("./constants");
exports.handler = (event, context, callback) => {
var alexa = Alexa.handler(event, context);
alexa.appId = constants.appId;
alexa.dynamoDBTableName = constants.dynamoDbTable;
alexa.registerHandlers(
handlers.startModeIntentHandlers
, handlers.playModeIntentHandlers
);
alexa.execute();
};
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.