<commit_before>const bot = require('./bot');

bot.on('message',message => {
if(message.content.toLowerCase().startsWith('~count'))
{
   c = parseInt(message.content.split(' ')[1]) || 10;
   count(c,message);
}
});
var count = function(c,message)
{
	if(c<=0)
	{message.edit("Boom");}
	count(c-1,message);
	message.edit(c);
};<commit_msg>fix fun.js<commit_after>const bot = require('./bot');

bot.on('message',message => {
if(message.content.toLowerCase().startsWith('~count'))
{
   c = parseInt(message.content.split(' ')[1]) || 10;
	message.channel.sendMessage('counting').then(msg => count(c,msg));
}
});
var count = function(c,message)
{
	if(c<=0)
	{message.edit("Boom");}
	message.edit(c);
	setTimeout(count(c-1,message),200);
};
{'fraction_non_alphanumeric': 0.24453551912568305, 'fraction_numerical': 0.017759562841530054, 'mean_word_length': 6.048076923076923, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 6, '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': '2377858', 'n_tokens_mistral': 279, 'n_tokens_neox': 280, 'n_words': 36}