function onIntent(intentRequest, session, callback) {
    console.log("onIntent requestId=" + intentRequest.requestId
        + ", sessionId=" + session.sessionId);

    var intent = intentRequest.intent,
        intentName = intentRequest.intent.name;

    // dispatch custom intents to handlers here
    if (intentName == 'GetGithubFollowerCount') {
        handleTestRequest(intent, session, callback);
    }
    else {
        throw "Invalid intent";
    }
}
/**
 * Called when the user specifies an intent for this skill.
 */
Called when the user specifies an intent for this skill.
Called when the user specifies an intent for this skill .
function onIntent(intentRequest, session, callback) {
    console.log("onIntent requestId=" + intentRequest.requestId
        + ", sessionId=" + session.sessionId);
    var intent = intentRequest.intent,
        intentName = intentRequest.intent.name;
    if (intentName == 'GetGithubFollowerCount') {
        handleTestRequest(intent, session, callback);
    }
    else {
        throw "Invalid intent";
    }
}
function onIntent ( intentRequest , session , callback ) { console . log ( "onIntent requestId=" + intentRequest . requestId + ", sessionId=" + session . sessionId ) ; var intent = intentRequest . intent , intentName = intentRequest . intent . name ; if ( intentName == 'GetGithubFollowerCount' ) { handleTestRequest ( intent , session , callback ) ; } else { throw "Invalid intent" ; } }
Called when the user specifies an intent for this skill.
Called when the user specifies an intent for this skill .
// dispatch custom intents to handlers here