<commit_before>'use strict';

/*

Generic IRC events. Simply passing selected IRC params into javascript objects

Example
    ERROR: {              IRC Command to match
        event: 'error',   Event name to trigger on the client instance
        reason: -1        Property on the triggered event, and which IRC param to should contain
    },
*/

const generics = {
    ERROR: {
        event: 'irc error',
        error: 'irc',
        reason: -1
    },

    ERR_PASSWDMISMATCH: {
        event: 'irc error',
        error: 'password_mismatch'
    },

    ERR_LINKCHANNEL: {
        event: 'channel_redirect',
        from: 1,
        to: 2
    },

    ERR_NOSUCHNICK: {
        event: 'irc error',
        error: 'no_such_nick',
        nick: 1,
        reason: -1
    },

    ERR_CANNOTSENDTOCHAN: {
        event: 'irc error',
        error: 'cannot_send_to_channel',
        channel: 1,
        reason: -1
    },

    ERR_TOOMANYCHANNELS: {
        event: 'irc error',
        error: 'too_many_channels',
        channel: 1,
        reason: -1
    },

    ERR_USERNOTINCHANNEL: {<commit_msg>generics: add ERR_NOSUCHSERVER<commit_after>'use strict';

/*

Generic IRC events. Simply passing selected IRC params into javascript objects

Example
    ERROR: {              IRC Command to match
        event: 'error',   Event name to trigger on the client instance
        reason: -1        Property on the triggered event, and which IRC param to should contain
    },
*/

const generics = {
    ERROR: {
        event: 'irc error',
        error: 'irc',
        reason: -1
    },

    ERR_PASSWDMISMATCH: {
        event: 'irc error',
        error: 'password_mismatch'
    },

    ERR_LINKCHANNEL: {
        event: 'channel_redirect',
        from: 1,
        to: 2
    },

    ERR_NOSUCHNICK: {
        event: 'irc error',
        error: 'no_such_nick',
        nick: 1,
        reason: -1
    },

    ERR_NOSUCHSERVER: {
        event: 'irc error',
        error: 'no_such_server',
        server: 1,
        reason: -1
    },

    ERR_CANNOTSENDTOCHAN: {
        event: 'irc error',
        error: 'cannot_send_to_channel',
        channel: 1,
        reason: -1
    },

    ERR_TOOMANYCHANNELS: {
        event: 'irc error',
        error: 'too_many_channels',
        channel: 1,
        reason: -1
    },

    ERR_USERNOTINCHANNEL: {
{'fraction_non_alphanumeric': 0.10119555935098207, 'fraction_numerical': 0.009393680614859094, 'mean_word_length': 1.7926102502979737, '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': '4871737', 'n_tokens_mistral': 771, 'n_tokens_neox': 717, 'n_words': 206}