<commit_before>const Alexa = require('alexa-sdk')

const APP_ID = undefined

const SKILL_NAME = 'TFL Train Status'

exports.handler = function(event, context, callback) {
  const alexa = Alexa.handler(event, context)
  alexa.APP_ID = APP_ID
  alexa.registerHandlers(handlers)
  alexa.execute()
}

const handlers = {
  LaunchRequest: function() {
    this.emit('GetNewFactIntent')
  },
  GetTflTrainStatusIntent: function() {
    const status = 'bad'
    this.emit(':tellWithCard', status, SKILL_NAME, status)
  }
}<commit_msg>Adds call to get tfl information to alexa handlers<commit_after>const Alexa = require('alexa-sdk')
const alexaActions = require('./src/alexaActions')

const APP_ID = undefined

const SKILL_NAME = 'TFL Train Status'

exports.handler = function(event, context, callback) {
  const alexa = Alexa.handler(event, context)
  alexa.APP_ID = APP_ID
  alexa.registerHandlers(handlers)
  alexa.execute()
}

const handlers = {
  LaunchRequest: function() {
    this.emit('GetTflTrainStatusIntent')
  },
  GetTflTrainStatusIntent: function() {
    const status = alexaActions.getTflTrainStatus()
    this.emit(':tellWithCard', status, SKILL_NAME, status)
  }
}
{'fraction_non_alphanumeric': 0.11839863713798977, 'fraction_numerical': 0.0, 'mean_word_length': 4.845771144278607, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '150539', 'n_tokens_mistral': 418, 'n_tokens_neox': 388, 'n_words': 85}