<commit_before>package main

import (
    "git.lukas.moe/sn0w/Karen/logger"
    "github.com/sn0w/discordgo"
    "time"
)

var BETA_GUILDS = [...]string{
    "259831440064118784", // FADED's Sandbox        (Me)
    "180818466847064065", // Karen's Sandbox        (Me)
    "172041631258640384", // P0WERPLANT             (Me)
    "161637499939192832", // Coding Lounge          (Devsome)
    "225168913808228352", // Emily's Space          (Kaaz)
    "267186654312136704", // <NAME>    (黒ゲロロロ)
    "244110097599430667", // S E K A I              (Senpai /「 ステ 」Abuse)
    "268279577598492672", // ZAKINET                (Senpai /「 ステ 」Abuse)
    "266326434505687041", // Bot Test               (quoththeraven)
    "267658193407049728", // Bot Creation           (quoththeraven)
    "106029722458136576", // Shadow Realm           (WhereIsMyAim)
    "268143270520029187", // Joel's Beasts          (Joel)
    "271346578189582339", // Universe Internet Ltd. (Inside24)
    "270353850085408780", // Turdy Republic         (Moopdedoop)
    "275720670045011968", // Omurice                (Katsurice)
}

// Automatically leaves guilds that are not registered beta testers
func autoLeaver(session *discordgo.Session) {
    for {
        for _, guild := range session.State.Guilds {
            match := false

            for _, betaGuild := range BETA_GUILDS {
                if guild.ID == betaGuild {
                    match = true
                    break
                }
            }

            if !match {
                logger.WARNING.L("beta", "Leaving guild " + guild.ID + " (" + guild.Name + ") because it didn't apply for the beta")
                session.GuildLeave(guild.ID)
            }
        }

        time.Sleep(10 * time.Second)
    }
}
<commit_msg>Remove obsolete server from whitelist<commit_after>package main

import (
    "git.lukas.moe/sn0w/Karen/logger"
    "github.com/sn0w/discordgo"
    "time"
)

var BETA_GUILDS = [...]string{
    "180818466847064065", // FADED's Sandbox        (Me)
    "172041631258640384", // P0WERPLANT             (Me)
    "161637499939192832", // Coding Lounge          (Devsome)
    "225168913808228352", // Emily's Space          (Kaaz)
    "267186654312136704", // <NAME>    (黒ゲロロロ)
    "244110097599430667", // S E K A I              (Senpai /「 ステ 」Abuse)
    "268279577598492672", // ZAKINET                (Senpai /「 ステ 」Abuse)
    "266326434505687041", // Bot Test               (quoththeraven)
    "267658193407049728", // Bot Creation           (quoththeraven)
    "106029722458136576", // Shadow Realm           (WhereIsMyAim)
    "268143270520029187", // Joel's Beasts          (Joel)
    "271346578189582339", // Universe Internet Ltd. (Inside24)
    "270353850085408780", // Turdy Republic         (Moopdedoop)
    "275720670045011968", // Omurice                (Katsurice)
}

// Automatically leaves guilds that are not registered beta testers
func autoLeaver(session *discordgo.Session) {
    for {
        for _, guild := range session.State.Guilds {
            match := false

            for _, betaGuild := range BETA_GUILDS {
                if guild.ID == betaGuild {
                    match = true
                    break
                }
            }

            if !match {
                logger.WARNING.L("beta", "Leaving guild " + guild.ID + " (" + guild.Name + ") because it didn't apply for the beta")
                session.GuildLeave(guild.ID)
            }
        }

        time.Sleep(10 * time.Second)
    }
}

{'fraction_non_alphanumeric': 0.11670936521491602, 'fraction_numerical': 0.15257614574437803, 'mean_word_length': 1.7647521636506687, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '427093', 'n_tokens_mistral': 1544, 'n_tokens_neox': 1186, 'n_words': 242}