<commit_before>exports.mod = function(context)
{
	this.channels = {};

	this.core$privmsg = function(server, prefix, target, message, words)
	{
		if(words[0] === '!auto')
		{
			switch(words[1])
			{
				case 'join':
					server.fire('join', server, prefix, target, words[2], words[3]);
					break;
			}
		}
	}

	this.core$376 = function(server, prefix, message)
	{
		for(var kChannel in this.channels)
		{
			server.send('JOIN ' + kChannel);
		}
	}

	this.auto$join = function(server, prefix, target, opcode, channel)
	{
		if(server.master.test(prefix.mask))
		{
			switch(opcode)
			{
				case '+':
					if(typeof this.channels[channel] === 'undefined')<commit_msg>Updated mod auto to use core$cmd hook.<commit_after>exports.mod = function(context)
{
	this.channels = {};

	this.core$cmd = function(server, prefix, target, cmd, params)
	{
		if(cmd === 'auto')
		{
			switch(params[0])
			{
				case 'join':
					server.fire('join', server, prefix, target, params[1], params[2]);
					break;
			}
		}
	}

	this.core$376 = function(server, prefix, message)
	{
		for(var kChannel in this.channels)
		{
			server.send('JOIN ' + kChannel);
		}
	}

	this.auto$join = function(server, prefix, target, opcode, channel)
	{
		if(server.master.test(prefix.mask))
		{
			switch(opcode)
			{
				case '+':
					if(typeof this.channels[channel] === 'undefined')
{'fraction_non_alphanumeric': 0.17272053372868792, 'fraction_numerical': 0.009636767976278725, 'mean_word_length': 3.4407894736842106, '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': '5474397', 'n_tokens_mistral': 572, 'n_tokens_neox': 485, 'n_words': 91}