<commit_before>const Discord = require('discord.js');
const client = new Discord.Client();
const token = '<KEY>'; // WaldyBot
const tokenBeta = '<KEY>'; // WaldyBot Beta

// This is the invite link for WaldyBot
// https://discordapp.com/oauth2/authorize?&client_id=328236947820773386&scope=bot&permissions=0
// This is the invite link for WaldyBot Beta
// https://discordapp.com/oauth2/authorize?&client_id=328950816868139019&scope=bot&permissions=0

// Global Vars

client.on('ready', () => {
  console.log('Ready....');
  }
);

// Command Descriptions/Declarations
var cmdHelp = 'w ' + 'help';
var cmdHelpHelp = 'w help\n\t ' + 'Requests my command list.';
var cmdPing = 'w ' + 'ping';
var cmdPingHelp = 'w ping\n\t ' + 'Checks my current online/offline status.';


// Help File
var helpFile = '```javscript // This is my command list.\n ' + 'All commands are prefixed by a \'w\' and a single space.\n ' + cmdHelpHelp + '\n ' + cmdPingHelp + '\n ' + '```';


client.on('message', message => {
  if(message.content === cmdHelp) {
    message.author.createDM(message.author.send(helpFile))
    };
  } 
);


client.on('message', message => {
  if(message.content === cmdPing) {
    message.channel.send('pong');
  }
});

// WaldyBot Login Token Goes Here: For local testing use tokenBeta.
client.login(token);<commit_msg>Added fix for heroku disconnect test upload.<commit_after>const Discord = require('discord.js');
const client = new Discord.Client();
const token = '<KEY>'; // WaldyBot
const tokenBeta = '<KEY>'; // WaldyBot Beta

// This is the invite link for WaldyBot
// https://discordapp.com/oauth2/authorize?&client_id=328236947820773386&scope=bot&permissions=0
// This is the invite link for WaldyBot Beta
// https://discordapp.com/oauth2/authorize?&client_id=328950816868139019&scope=bot&permissions=0

// Global Vars

client.on('ready', () => {
  console.log('Ready....');
  }
);

// Command Descriptions/Declarations
var cmdHelp = 'w ' + 'help';
var cmdHelpHelp = 'w help\n\t ' + 'Requests my command list.';
var cmdPing = 'w ' + 'ping';
var cmdPingHelp = 'w ping\n\t ' + 'Checks my current online/offline status.';


// Help File
var helpFile = '```javscript // This is my command list.\n ' + 'All commands are prefixed by a \'w\' and a single space.\n ' + cmdHelpHelp + '\n ' + cmdPingHelp + '\n ' + '```';


client.on('message', message => {
  if(message.content === cmdHelp) {
    message.author.createDM(message.author.send(helpFile))
    };
  } 
);


client.on('message', message => {
  if(message.content === cmdPing) {
    message.channel.send('pong');
  }
});

// WaldyBot Login Token Goes Here: For local testing use tokenBeta.
client.login(tokenBeta).listen(process.env.PORT);
{'fraction_non_alphanumeric': 0.1711111111111111, 'fraction_numerical': 0.02962962962962963, 'mean_word_length': 3.901996370235935, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 13, 'https://': 4, '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': '686879', 'n_tokens_mistral': 981, 'n_tokens_neox': 921, 'n_words': 225}