<commit_before>'use strict';

function seen(user) {
	user = toId(user);
	let time = Seen.get(user);
	if ((Users.getExact(user) && Users.getExact(user).connected) || time === 'never') return '';
	return '<b>Last Seen:</b> ' + time[0] + ' ago';
}

function getBadges(user) {
	let badgeList = JSON.parse(require('fs').readFileSync('storage-files/badges.json'));
	user = toId(user);
	if (!badgeList[user] || Object.keys(badgeList[user]).length < 3) return '';
	let total = '<details><summary><b>Badges:</b> (Click here to open)</summary>';
	for (let i in badgeList[user]) {
		total += badgeList[user][i];
	};
	return total + '</details>';
}

exports.commands = {
	staff: 'leaguemembers',
	attendance: 'leaguemembers',
	/*ateamlist: 'leaguemembers',
	gls: 'leaguemembers',
	gymleaders: 'leaguemembers',
	e4s: 'leaguemembers',
	elite4s: 'leaguemembers',
	elitefours: 'leaguemembers',
	gls: 'leaguemembers',
	gymleaders: 'leaguemembers',*/
	leaguemembers: function (target, room, user, connection, cmd) {
		if (!this.runBroadcast()) return;
		let total = '';
		let members = {
			'Admin Team': ['∆Sora Revan∆', '∆Sora Barts∆', '∆Sora Ninjarisu∆', '∆Sora Onyxeagle∆', '∆Sora Blade∆', 'Jeratt', '<NAME>'],
			'Elite Four': ['∆Sora Terrors∆', '∆Sora Whitefang∆', '∆Sora Mitsuka∆'],
			'Frontiers': ['∆Sora Heat∆', '∆Sora Zachary∆', '∆Sora Arjun∆', '∆Sora Akash∆'],
			'Gym Leaders': ['∆Sora Gasp∆', '∆Sora Onyxeagle∆', '∆Sora Nightanglet∆', '∆Sora Float∆', '∆Sora Mark∆', '∆Sora Aros∆', '∆Sora Leaf∆', '∆Sora Meows∆', '∆Sora Waffles∆', '∆Sora Youmaton∆', '∆Sora Silvy∆'],
		}
		for (let i in members) {
			total += '<b>' + i + '</b><table><tr><th>User</th><th>Last Seen</th></tr>';
			let list = members[i];
			for (let j in list) {<commit_msg>Updated our roster<commit_after>'use strict';

function seen(user) {
	user = toId(user);
	let time = Seen.get(user);
	if ((Users.getExact(user) && Users.getExact(user).connected) || time === 'never') return '';
	return '<b>Last Seen:</b> ' + time[0] + ' ago';
}

function getBadges(user) {
	let badgeList = JSON.parse(require('fs').readFileSync('storage-files/badges.json'));
	user = toId(user);
	if (!badgeList[user] || Object.keys(badgeList[user]).length < 3) return '';
	let total = '<details><summary><b>Badges:</b> (Click here to open)</summary>';
	for (let i in badgeList[user]) {
		total += badgeList[user][i];
	};
	return total + '</details>';
}

exports.commands = {
	staff: 'leaguemembers',
	attendance: 'leaguemembers',
	/*ateamlist: 'leaguemembers',
	gls: 'leaguemembers',
	gymleaders: 'leaguemembers',
	e4s: 'leaguemembers',
	elite4s: 'leaguemembers',
	elitefours: 'leaguemembers',
	gls: 'leaguemembers',
	gymleaders: 'leaguemembers',*/
	leaguemembers: function (target, room, user, connection, cmd) {
		if (!this.runBroadcast()) return;
		let total = '';
		let members = {
			'Admin Team': ['∆Sora Revan∆', '∆Sora Barts∆', '∆Sora Ninjarisu∆', '∆Sora Onyxeagle∆', '∆Sora Blade∆', 'Jeratt', '<NAME>'],
			'Elite Four': ['∆Sora Terrors∆', '∆Sora Whitefang∆', '∆Sora Silvy∆', '∆Sora Abadon∆'],
			'Frontiers': ['∆Sora Heat∆', '∆Sora Akash∆', '∆Sora Nightanglet∆'],
			'Gym Leaders': ['∆Sora Gasp∆', '∆Sora Onyxeagle∆', '∆Sora Blade∆', '∆Sora Float∆', '∆Sora Mark∆', '∆Sora Aros∆', '∆Sora Leaf∆', '∆Sora Waffles∆', '∆Sora Youmaton∆', '∆Sora Mitsuka∆', '∆Sora Key∆', '∆Sora Nova∆', '∆Sora Melody∆', ],
		}
		for (let i in members) {
			total += '<b>' + i + '</b><table><tr><th>User</th><th>Last Seen</th></tr>';
			let list = members[i];
			for (let j in list) {
{'fraction_non_alphanumeric': 0.2268835616438356, 'fraction_numerical': 0.00228310502283105, 'mean_word_length': 5.281362007168458, 'pattern_counts': {'":': 0, '<': 41, '<?xml version=': 0, '>': 39, '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': '749707', 'n_tokens_mistral': 1481, 'n_tokens_neox': 1524, 'n_words': 320}