<commit_before>/**
 * Created by savely on 15.04.2017.
 */
require('console-stamp')(console, { pattern: 'HH:MM:ss.l'});

global.config = require('./config');
global.parse_html = {parse_mode:'HTML'};

const image = require('./image');
const TelegramBot = require('node-telegram-bot-api');

global.r = require('rethinkdbdash')({
	db: 'overwatch',
	servers: [
		{host: '192.168.1.2', port: 28015}
	]
});

global.R = require('ramda');
global.bot = new TelegramBot(config.private.token, { polling: true });

global.hoursToTime = function (hours) {
	function hoursToMinutes(hours) {
		if (hours) {
			const time = (hours * 60);
			return Math.floor(time);
		}

		return 0;
	}
<commit_msg>Fixes<commit_after>/**
 * Created by savely on 15.04.2017.
 */
require('console-stamp')(console, { pattern: 'HH:MM:ss.l'});

global.config = require('./config');
global.parse_html = {parse_mode:'HTML'};

const image = require('./image');
const TelegramBot = require('node-telegram-bot-api');

global.r = require('rethinkdbdash')({
	db: 'overwatch',
	servers: [
		{host: '192.168.1.2', port: 28015}
	]
});

global.R = require('ramda');
global.bot = new TelegramBot(config.private.token, {
	webHook: {
		port: 5001
	}
});

global.hoursToTime = function (hours) {
	function hoursToMinutes(hours) {
		if (hours) {
			const time = (hours * 60);
			return Math.floor(time);
		}

		return 0;
	}

{'fraction_non_alphanumeric': 0.1948905109489051, 'fraction_numerical': 0.03795620437956204, 'mean_word_length': 4.273076923076923, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '3445271', 'n_tokens_mistral': 570, 'n_tokens_neox': 506, 'n_words': 101}