<commit_before>let lmsg = "[" + (new Date().toISOString().replace(/T/, ' ').replace(/\..+/, '')) + "] Starting kuvuBot2.."; console.log(lmsg);
let loadstart = new Date();
var running = false;

const logger = require('./basic/logger.js');
const discord = require('discord.js');
const fs = require("fs");
const client = new discord.Client();
const http = require('http');
const cleverbot = require('cleverbot');

const config = require('./inc/config.js');
const lang = require('./inc/lang.js');

const avatar = require('./commands/avatar.js');
const cat = require('./commands/cat.js');
const isilegall = require('./commands/isillegal.js');
const ping = require('./commands/ping.js');
const help = require('./commands/help.js');
const text = require('./commands/text.js');
const rawtext = require('./commands/rawtext.js');
const servers = require('./commands/servers.js');
const react = require('./commands/react.js');
const status = require('./commands/status.js');
const clear = require('./commands/clear.js');
const figlet = require('./commands/figlet.js');


fs.appendFile("bot.log", lmsg + "\n", function (error) {if (error) throw error;});

client.on('ready', () => {

    client.user.setGame('PhpStorm 2016.3.2');
    client.user.setAvatar('./resources/avatar.png');

    if (running == false) {
        logger.log("Bot running! (Took: " + ((new Date()).getTime() - loadstart.getTime()) + " ms)");
        running = true;
    }
});

client.on('message', message => {
    if (message.author.bot) return;

    var server;
    if (message.channel.type == "text") {
        server = message.guild.name;
    } else {
        server = "Private Message";
    }

    if (message.content.startsWith('<@!' + client.user.id + '>') || message.content.startsWith('<@' + client.user.id + '>')) {
        let msg = message.content.replace('<@!' + client.user.id + '>', '@bot').replace('<@' + client.user.id + '>', '@bot');<commit_msg>new game<commit_after>let lmsg = "[" + (new Date().toISOString().replace(/T/, ' ').replace(/\..+/, '')) + "] Starting kuvuBot2.."; console.log(lmsg);
let loadstart = new Date();
var running = false;

const logger = require('./basic/logger.js');
const discord = require('discord.js');
const fs = require("fs");
const client = new discord.Client();
const http = require('http');
const cleverbot = require('cleverbot');

const config = require('./inc/config.js');
const lang = require('./inc/lang.js');

const avatar = require('./commands/avatar.js');
const cat = require('./commands/cat.js');
const isilegall = require('./commands/isillegal.js');
const ping = require('./commands/ping.js');
const help = require('./commands/help.js');
const text = require('./commands/text.js');
const rawtext = require('./commands/rawtext.js');
const servers = require('./commands/servers.js');
const react = require('./commands/react.js');
const status = require('./commands/status.js');
const clear = require('./commands/clear.js');
const figlet = require('./commands/figlet.js');


fs.appendFile("bot.log", lmsg + "\n", function (error) {if (error) throw error;});

client.on('ready', () => {

    client.user.setGame('.pomoc');
    client.user.setAvatar('./resources/avatar.png');

    if (running == false) {
        logger.log("Bot running! (Took: " + ((new Date()).getTime() - loadstart.getTime()) + " ms)");
        running = true;
    }
});

client.on('message', message => {
    if (message.author.bot) return;

    var server;
    if (message.channel.type == "text") {
        server = message.guild.name;
    } else {
        server = "Private Message";
    }

    if (message.content.startsWith('<@!' + client.user.id + '>') || message.content.startsWith('<@' + client.user.id + '>')) {
        let msg = message.content.replace('<@!' + client.user.id + '>', '@bot').replace('<@' + client.user.id + '>', '@bot');
{'fraction_non_alphanumeric': 0.22428198433420365, 'fraction_numerical': 0.0020887728459530026, 'mean_word_length': 3.7768079800498753, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 15, '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': '1471868', 'n_tokens_mistral': 1206, 'n_tokens_neox': 1193, 'n_words': 257}