<commit_before>'use strict'

const express = require('express');
const bodyParser = require('body-parser');
const request = require('request');
const Client = require('node-xmpp-client');

const app = express();

app.set('port', (process.env.PORT || 5000));

// Allows us to process the data
app.use(bodyParser.urlencoded({extended: false}));
app.use(bodyParser.json());

// ROUTES

app.get('/', function(req, res) {
	res.send("Hi I am a chatbot");
})


app.listen(app.get('port'), function() {
	console.log("running: port");
})






<commit_msg>connection test lol<commit_after>'use strict'

const express = require('express');
const bodyParser = require('body-parser');
const request = require('request');
const Client = require('node-xmpp-client');

const envOptions = {
  lolId : process.env.LOL_ID + "@pvp.net/xiff",
  lolPassword : "<PASSWORD>" + process.env.LOL_PASSWORD,
  lolPort: process.env.LOL_PORT || 5223,
  lolServer : process.env.LOL_SERVER || "chat.eun1.lol.riotgames.com",
};

const app = express();

app.set('port', (process.env.PORT || 5000));

// Allows us to process the data
app.use(bodyParser.urlencoded({extended: false}));
app.use(bodyParser.json());

// ROUTES

app.get('/', function(req, res) {
	res.send("Hi I am a chatbot");
})

app.listen(app.get('port'), function() {
	console.log("running: port");
})

var client = new Client({
  jid : envOptions.lolId,
  password :  <PASSWORD>,
  host : envOptions.lolServer,
  port : envOptions.lolPort,
  reconnect : true,
  autostart : true,
  legacySSL : true
})

client.on('stanza', function (stanza) {
  console.log('Received stanza: ', stanza.toString());
});







{'fraction_non_alphanumeric': 0.18392204628501826, 'fraction_numerical': 0.007917174177831911, 'mean_word_length': 4.665517241379311, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2901667', 'n_tokens_mistral': 588, 'n_tokens_neox': 566, 'n_words': 124}