<commit_before>/*
 * Copyright (c) 2014, <NAME>, https://bitbucket.org/sgt-kabukiman/
 *
 * This file is released under the terms of the MIT license. You can find the
 * complete text in the attached LICENSE file or online at:
 *
 * http://www.opensource.org/licenses/mit-license.php
 */

var GTAContentPlugin = function() {
	this.acl      = null;
	this.listener = null;
	this.tpl      = null;
	this.commands = {
		'wr_iii_any': 'gta_wr_iii_any',
		'wr_iii':     'gta_wr_iii_any',
		'wr_3':       'gta_wr_iii_any',
		'wr_iii_mis': 'gta_wr_iii_mis',
		'wr_3_mis':   'gta_wr_iii_mis',
		'wr_iii_100': 'gta_wr_iii_100',
		'wr_3_100':   'gta_wr_iii_100',

		'wr_vc_any': 'gta_wr_vc_any',
		'wr_vc':     'gta_wr_vc_any',
		'wr_vc_mis': 'gta_wr_vc_mis',
		'wr_vc_100': 'gta_wr_vc_100',

		'wr_sa_any': 'gta_wr_sa_any',
		'wr_sa':     'gta_wr_sa_any',
		'wr_sa_100': 'gta_wr_sa_100',

		'wr_vcs_any': 'gta_wr_vcs_any',
		'wr_vcs':     'gta_wr_vcs_any',

		'wr_v_any':     'gta_wr_v_any',
		'wr_v':         'gta_wr_v_any',
		'wr_5':         'gta_wr_v_any',
		'wr_v_classic': 'gta_wr_v_classic',
		'wr_5_classic': 'gta_wr_v_classic',

		'ryder':  'gta_ryder',
		'30days': 'gta_30days',
		'rng':    'gta_rng',

		'leaderboards': 'gta_leaderboards',
		'boards':       'gta_leaderboards',
		'gta_boards':   'gta_leaderboards',

		'sprinting': 'gta_sprinting',
		'sprint':    'gta_sprinting',

		'sliding': 'gta_sliding',
		'slide':   'gta_sliding',

		'ak47': 'gta_ak47',

		'swimming': 'gta_swimming'
	};
};

GTAContentPlugin.prototype = {
	setup: function(kabukibot, eventDispatcher) {
		this.acl      = kabukibot.getACL();
		this.tpl      = kabukibot.getStringTemplate();
		this.listener = this.onCommand.bind(this);
		this.dict     = kabukibot.getDictionary();

		this.dict
			.add('gta_wr_iii_any',   'WR for GTA III any% is 1:13:02 by SSJ4Vegeto, {{#reldate}}7 Mar. 2014{{/reldate}}')<commit_msg>removed old command for Tirean's 30day challenge<commit_after>/*
 * Copyright (c) 2014, <NAME>, https://bitbucket.org/sgt-kabukiman/
 *
 * This file is released under the terms of the MIT license. You can find the
 * complete text in the attached LICENSE file or online at:
 *
 * http://www.opensource.org/licenses/mit-license.php
 */

var GTAContentPlugin = function() {
	this.acl      = null;
	this.listener = null;
	this.tpl      = null;
	this.commands = {
		'wr_iii_any': 'gta_wr_iii_any',
		'wr_iii':     'gta_wr_iii_any',
		'wr_3':       'gta_wr_iii_any',
		'wr_iii_mis': 'gta_wr_iii_mis',
		'wr_3_mis':   'gta_wr_iii_mis',
		'wr_iii_100': 'gta_wr_iii_100',
		'wr_3_100':   'gta_wr_iii_100',

		'wr_vc_any': 'gta_wr_vc_any',
		'wr_vc':     'gta_wr_vc_any',
		'wr_vc_mis': 'gta_wr_vc_mis',
		'wr_vc_100': 'gta_wr_vc_100',

		'wr_sa_any': 'gta_wr_sa_any',
		'wr_sa':     'gta_wr_sa_any',
		'wr_sa_100': 'gta_wr_sa_100',

		'wr_vcs_any': 'gta_wr_vcs_any',
		'wr_vcs':     'gta_wr_vcs_any',

		'wr_v_any':     'gta_wr_v_any',
		'wr_v':         'gta_wr_v_any',
		'wr_5':         'gta_wr_v_any',
		'wr_v_classic': 'gta_wr_v_classic',
		'wr_5_classic': 'gta_wr_v_classic',

		'ryder':  'gta_ryder',
		'rng':    'gta_rng',

		'leaderboards': 'gta_leaderboards',
		'boards':       'gta_leaderboards',
		'gta_boards':   'gta_leaderboards',

		'sprinting': 'gta_sprinting',
		'sprint':    'gta_sprinting',

		'sliding': 'gta_sliding',
		'slide':   'gta_sliding',

		'ak47': 'gta_ak47',

		'swimming': 'gta_swimming'
	};
};

GTAContentPlugin.prototype = {
	setup: function(kabukibot, eventDispatcher) {
		this.acl      = kabukibot.getACL();
		this.tpl      = kabukibot.getStringTemplate();
		this.listener = this.onCommand.bind(this);
		this.dict     = kabukibot.getDictionary();

		this.dict
			.add('gta_wr_iii_any',   'WR for GTA III any% is 1:13:02 by SSJ4Vegeto, {{#reldate}}7 Mar. 2014{{/reldate}}')
{'fraction_non_alphanumeric': 0.16283979941937188, 'fraction_numerical': 0.026920031670625493, 'mean_word_length': 3.902975420439845, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '2234105', 'n_tokens_mistral': 1902, 'n_tokens_neox': 1716, 'n_words': 271}