<commit_before>const config = require("./../../config.json");
const exec = require('child_process').execFile;

module.exports = function screenshot(message) {
	let input = message.content.replace(/\n/g, "").split(" ");

	if(message.author.id === config.MSS.sysadmin) {
		if(!input[0]) {
			message.channel.sendMessage("```\nNo input detected\n```");
			return false;
		}

		//Shift!
		input.shift();
		input.shift();

		let output = "```\n";

		exec('git', input, (error, stdout, stderr) => {
			if(stdout){
				output += stdout + "\n";
			}

			if(stderr){
				output += stderr + "\n";
			}

			output += "```";

			message.channel.sendMessage(output);
		});
	}
}
<commit_msg>duplicate some moo code because it broke<commit_after>const config = require("./../../config.json");
const execFile = require('child_process').execFile;

module.exports = function screenshot(message) {
	let input = message.content.replace(/\n/g, "").split(" ");

	if(message.author.id === config.MSS.sysadmin) {
		if(!input[2]) {
			message.channel.sendMessage("```\nNo input detected\n```");
			return false;
		}

		//Get everything after cowsay
		input.shift();
		input.shift();

		if(!input[0]) {
			input[0] = "Have you git pulled today?";
		}

		execFile('git', input, function(error, result) {
			 message.channel.sendMessage('```\n' + result + '\n```');
		});
	}
}

{'fraction_non_alphanumeric': 0.2134914751667902, 'fraction_numerical': 0.0029651593773165306, 'mean_word_length': 3.530201342281879, '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': '6855579', 'n_tokens_mistral': 522, 'n_tokens_neox': 451, 'n_words': 89}