<commit_before>'use strict';

require('dotenv').load();
const Scraper = require('./scraper');

if (!process.env.SLACK_API_TOKEN) {
  console.log('Error: Specify slack token in environment');
  process.exit(1);
}

var scraper = new Scraper(); // stačí nám jeden



var Botkit = require('botkit/lib/Botkit.js');

var controller = Botkit.slackbot({
  debug : true
});

controller.spawn({
  token : process.env.SLACK_API_TOKEN<commit_msg>Debug mód je nyní aktivován přes ENV<commit_after>'use strict';

require('dotenv').load();
const Scraper = require('./scraper');

if (!process.env.SLACK_API_TOKEN) {
  console.log('Error: Specify slack token in environment');
  process.exit(1);
}

var scraper = new Scraper(); // stačí nám jeden



var Botkit = require('botkit/lib/Botkit.js');

var controller = Botkit.slackbot({
  debug : process.env.SLACKBOT_DEBUG
});

controller.spawn({
  token : process.env.SLACK_API_TOKEN
{'fraction_non_alphanumeric': 0.1533406352683461, 'fraction_numerical': 0.002190580503833516, 'mean_word_length': 4.821656050955414, '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': '24903', 'n_tokens_mistral': 330, 'n_tokens_neox': 328, 'n_words': 71}