<commit_before>const moment = require('moment');
const Discord = require("discord.js");
const bot = new Discord.Client();

bot.set = require(__dirname+'/bot.json');

global.bot = bot;
global.ys = require(__dirname+'util.js');

bot.on('ready', function() {
  bot.user.setPresence({status: 'online', game:{ name:`${bot.set.prefix}help - ${bot.guilds.size} Servers`}});
  console.log(`${bot.users.size} users, in ${bot.channels.size} channels of ${bot.guilds.size} servers`);
  bot.start = moment().valueOf();
});

bot.login(bot.set.token);<commit_msg>Update yasashii.js<commit_after>const moment = require('moment');
const Discord = require("discord.js");
const bot = new Discord.Client();

bot.set = require(__dirname+'/bot.json');
bot.commands = fs.readdirSync(__dirname+'/commands/');

global.bot = bot;
global.ys = require(__dirname+'util.js');

bot.on('ready', function() {
  bot.user.setPresence({status: 'online', game:{ name:`${bot.set.prefix}help - ${bot.guilds.size} Servers`}});
  console.log(`${bot.users.size} users, in ${bot.channels.size} channels of ${bot.guilds.size} servers`);
  bot.start = moment().valueOf();
});

bot.on('message', function() {
  if (m.author.bot === true) return;
	if (m.channel.type === "dm") return;

  if(m.content.startsWith(bot.set.prefix)) {
    var command = m.content.split(" ")[0].replace(bot.set.prefix, "");
    if (bot.commands.indexOf(command+'.js') > -1) {
      var cmd = reload(__dirname+'/commands/'+command+'.js');
      var args = m.content.substring((bot.set.prefix).length+command.length+1);
    }
  }
});

bot.login(bot.set.token);
{'fraction_non_alphanumeric': 0.21823899371069183, 'fraction_numerical': 0.0018867924528301887, 'mean_word_length': 4.870848708487085, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '593973', 'n_tokens_mistral': 551, 'n_tokens_neox': 554, 'n_words': 96}