<commit_before>exports.command = {
	name: "tell", 			
	autoload: true,			
	unloadable: false,
	min_rank: 0,
	display: "tells someone something, in private.",
	help: "Tells someone something, in private. Only both of you will know...",
	usage: ".tell <user> <text>",

	execute: function(socket, command, command_access) {

		var chalk = require('chalk');
		to = command.split(' ')[0];
		message = command.split(' ').slice(1).join(" ");

		if ((typeof to === 'undefined') || (typeof message === 'undefined') || to.length < 1 || message.length < 1) {
			command_access.sendData(socket, chalk.yellow(":: ") + "You have to use it this way:" + chalk.yellow(" .tell someone something\r\n"));
		} else {
			var s = command_access.getAproxOnlineUser(to);
			if (s.length === 1) {
				if (socket.username.toLowerCase() === s[0].username.toLowerCase()) {
					return command_access.sendData(socket, chalk.red(":: ") + "Talking to yourself is the first sign of madness.\r\n");
				}
				command_access.sendData(socket, chalk.green("You tell ") + s[0].username + chalk.green(": ") + message + "\r\n");
				s[0].write(socket.username + chalk.green(" tells you: ") + message + "\r\n");
			} else if (s.length === 0) {
				command_access.sendData(socket, chalk.red(":: ") + "There is no one of that name logged on.\r\n");
			} else {
				var possibilities = "";
				for (var p = 0; p < s.length - 1; p++) {
					possibilities += chalk.bold(s[p].username) + ", ";
				}
				possibilities += chalk.bold(s[s.length - 1].username);
				command_access.sendData(socket, chalk.yellow(":: ") + "Be more explicit: whom do you want to talk to ("+possibilities+")?\r\n");
			}
		}
	}
}
<commit_msg>.tell: use the new getAproxOnlineUserExcluding<commit_after>exports.command = {
	name: "tell", 			
	autoload: true,			
	unloadable: false,
	min_rank: 0,
	display: "tells someone something, in private.",
	help: "Tells someone something, in private. Only both of you will know...",
	usage: ".tell <user> <text>",

	execute: function(socket, command, command_access) {

		var chalk = require('chalk');
		to = command.split(' ')[0];
		message = command.split(' ').slice(1).join(" ");

		if ((typeof to === 'undefined') || (typeof message === 'undefined') || to.length < 1 || message.length < 1) {
			command_access.sendData(socket, chalk.yellow(":: ") + "You have to use it this way:" + chalk.yellow(" .tell someone something\r\n"));
		} else {
			var s = command_access.getAproxOnlineUserExcluding(to, socket.username, true);
			if (s.length === 1) {
				if (socket.username.toLowerCase() === s[0].username.toLowerCase()) {
					return command_access.sendData(socket, chalk.red(":: ") + "Talking to yourself is the first sign of madness.\r\n");
				}
				command_access.sendData(socket, chalk.green("You tell ") + s[0].username + chalk.green(": ") + message + "\r\n");
				s[0].write(socket.username + chalk.green(" tells you: ") + message + "\r\n");
			} else if (s.length === 0) {
				command_access.sendData(socket, chalk.red(":: ") + "There is no one of that name logged on.\r\n");
			} else {
				var possibilities = "";
				for (var p = 0; p < s.length - 1; p++) {
					possibilities += chalk.bold(s[p].username) + ", ";
				}
				possibilities += chalk.bold(s[s.length - 1].username);
				command_access.sendData(socket, chalk.yellow(":: ") + "Be more explicit: whom do you want to talk to ("+possibilities+")?\r\n");
			}
		}
	}
}

{'fraction_non_alphanumeric': 0.18990314059289698, 'fraction_numerical': 0.007631347226298797, 'mean_word_length': 3.5622489959839356, 'pattern_counts': {'":': 10, '<': 13, '<?xml version=': 0, '>': 7, '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': '7509538', 'n_tokens_mistral': 1307, 'n_tokens_neox': 1136, 'n_words': 300}