<commit_before>var DiscordBot = require("../DisnodeLib/DiscordBot.js");
var bot = new DiscordBot("");

bot.on("Bot_Ready", function(){
    console.log('[FB - BotReady] Bot Ready.');
    bot.enableVoiceManager({voiceEvents:true});
    bot.enableAudioPlayer({path: './Audio/', maxVolume:2.0});

    var cmdList = [
      {cmd:"helloworld",run: test,desc: "Hello World Command",usage:"#"+"helloworld"},
      {cmd: "help",run: test,desc: "List All Commands",usage:"#"+"help"},
      {cmd: "dc",run: cmdDC,desc: "List All Commands",usage:"#"+"help"},
    ];

    bot.enableCommandHandler({prefix: "#",list:cmdList});
    bot.addDefaultCommands();
});

bot.on("Bot_Init", function () {
  console.log("[FB - BotReady] Bot Init.");
});



bot.on("Bot_RawMessage", function(msg){
  console.log("[FB - RawMessage] Recieved Raw msg: " + msg.content);
});

exports.Start = function () {
  bot.startBot();

};
var test = function(msg)
{
  bot.bot.sendMessage(msg.msg.channel, "TEST!!!!!!");
}
var cmdDC = function(msg){
  if (msg.msg.author.name =="FireGamer3"){
		bot.bot.sendMessage(msg.msg.channel, "``` Disconnecting ```");
		bot.bot.logout();<commit_msg>Changes in FireBot<commit_after>var DiscordBot = require("../DisnodeLib/DiscordBot.js");
var bot = new DiscordBot("");

bot.on("Bot_Ready", function(){
    console.log('[FB - BotReady] Bot Ready.');
    bot.enableVoiceManager({voiceEvents:true});
    bot.enableAudioPlayer({path: './Audio/', maxVolume:2.0});

    var cmdList = [
      {cmd: "dc",run: cmdDC,desc: "Diconnects bot",usage:"#"+"dc"},
    ];

    bot.enableCommandHandler({prefix: "#",list:cmdList});
    bot.addDefaultCommands();
});

bot.on("Bot_Init", function () {
  console.log("[FB - BotReady] Bot Init.");
});



bot.on("Bot_RawMessage", function(msg){
  console.log("[FB - RawMessage] Recieved Raw msg: " + msg.content);
});

exports.Start = function () {
  bot.startBot();

};
var cmdDC = function(msg){
  if (msg.msg.author.name =="FireGamer3"){
		bot.bot.sendMessage(msg.msg.channel, "``` Disconnecting ```");
		bot.bot.logout();
{'fraction_non_alphanumeric': 0.21804878048780488, 'fraction_numerical': 0.002926829268292683, 'mean_word_length': 4.528301886792453, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '296004', 'n_tokens_mistral': 728, 'n_tokens_neox': 719, 'n_words': 124}