<commit_before>let database = {};
const p2str=require('./p2str');
const bot = require('../utils/bot');
bot.on('addNav', ob => {
    database[ob.message.id] = { arr: ob.arr, index: 0, game: ob.game };
	message.edit(message.content+"\nPlayer 1 of " + ob.arr.length);
    setTimeout(() => {
        ob.message.edit(ob.message.content + "\nReactions Navigator Expired");
        delete database[ob.message.id];
    }, 300000
    )
});
bot.on('messageReactionAdd', (reaction, user) => {
    if (user == bot.user) return;
    let ob = database[reaction.message.id];
    let index = ob.index
    if (!ob) return;
    if (reaction.emoji.name === '➡')
        index++;
    if (reaction.emoji.name === '⬅')<commit_msg>fix reaction db not found<commit_after>let database = {};
const p2str=require('./p2str');
const bot = require('../utils/bot');
bot.on('addNav', ob => {
    database[ob.message.id] = { arr: ob.arr, index: 0, game: ob.game };
	message.edit(message.content+"\nPlayer 1 of " + ob.arr.length);
    setTimeout(() => {
        ob.message.edit(ob.message.content + "\nReactions Navigator Expired");
        delete database[ob.message.id];
    }, 300000
    )
});
bot.on('messageReactionAdd', (reaction, user) => {
    if (user == bot.user) return;
    let ob = database[reaction.message.id];
    if (!ob) return;
    let index = ob.index
    if (reaction.emoji.name === '➡')
        index++;
    if (reaction.emoji.name === '⬅')
{'fraction_non_alphanumeric': 0.19607843137254902, 'fraction_numerical': 0.014005602240896359, 'mean_word_length': 3.1420289855072463, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '743238', 'n_tokens_mistral': 509, 'n_tokens_neox': 488, 'n_words': 105}