<commit_before>'use strict';

var SlackAssistBot = require('../lib/SlackAssist');

var token = process.env.BOT_API_KEY;

var slackAssistBot = new SlackAssistBot({
  token: token
});

// Just to keep the app running on heroku
var http = require('http');
var port = process.env.PORT || 3000;

http.createServer(function (req, res) {
  res.writeHead(200, {'Content-Type': 'text/plain'});
  res.end('Hello World\n');
}).listen(port, "127.0.0.1");

console.log('Server running');

slackAssistBot.run();<commit_msg>Update bot.js<commit_after>'use strict';

var SlackAssistBot = require('../lib/SlackAssist');

var token = process.env.BOT_API_KEY;

var slackAssistBot = new SlackAssistBot({
  token: token
});

// Just to keep the app running on heroku
var http = require('http');
var port = process.env.PORT || 3000;

http.createServer(function (req, res) {
  res.writeHead(200, {'Content-Type': 'text/plain'});
  res.end('Hello World\n');
}).listen(port);

console.log('Server running');

slackAssistBot.run();
{'fraction_non_alphanumeric': 0.17412935323383086, 'fraction_numerical': 0.01990049751243781, 'mean_word_length': 4.952662721893491, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, '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': '3563186', 'n_tokens_mistral': 369, 'n_tokens_neox': 352, 'n_words': 83}