<commit_before>package stream.flarebot.flarebot.commands;

import net.dv8tion.jda.core.entities.User;
import org.eclipse.jetty.util.ConcurrentHashSet;
import org.slf4j.Logger;
import stream.flarebot.flarebot.FlareBot;
import stream.flarebot.flarebot.commands.currency.ConvertCommand;
import stream.flarebot.flarebot.commands.currency.CurrencyCommand;
import stream.flarebot.flarebot.commands.general.*;
import stream.flarebot.flarebot.commands.informational.*;
import stream.flarebot.flarebot.commands.management.PermissionsCommand;
import stream.flarebot.flarebot.commands.management.SetPrefixCommand;
import stream.flarebot.flarebot.commands.management.WelcomeCommand;
import stream.flarebot.flarebot.commands.moderation.*;
import stream.flarebot.flarebot.commands.moderation.mod.*;
import stream.flarebot.flarebot.commands.music.*;
import stream.flarebot.flarebot.commands.random.AvatarCommand;
import stream.flarebot.flarebot.commands.random.ColorCommand;
import stream.flarebot.flarebot.commands.random.JumboCommand;
import stream.flarebot.flarebot.commands.secret.*;
import stream.flarebot.flarebot.commands.secret.internal.ChangelogCommand;
import stream.flarebot.flarebot.commands.secret.internal.PostUpdateCommand;
import stream.flarebot.flarebot.commands.secret.internal.ShardRestartCommand;
import stream.flarebot.flarebot.commands.secret.internal.StatusCommand;
import stream.flarebot.flarebot.commands.secret.update.UpdateCommand;
import stream.flarebot.flarebot.commands.secret.update.UpdateJDACommand;
import stream.flarebot.flarebot.commands.useful.RemindCommand;
import stream.flarebot.flarebot.commands.useful.TagsCommand;
import stream.flarebot.flarebot.permissions.PerGuildPermissions;

import javax.annotation.Nullable;
import java.util.Set;
import java.util.stream.Collectors;

public class CommandManager {

    private final Set<Command> commands = new ConcurrentHashSet<>();
    private final Logger LOGGER = FlareBot.getLog(CommandManager.class);

    public CommandManager() {
        int start = count();
        registerMusicCommands();
        LOGGER.info("[Command Manager] Loaded " + (count() - start) + " music commands!");

        start = count();
        registerGeneralCommands();
        LOGGER.info("[Command Manager] Loaded " + (count() - start) + " general commands!");

        start = count();
        registerModerationCommands();
        LOGGER.info("[Command Manager] Loaded " + (count() - start) + " moderation commands!");

        start = count();
        registerSecretCommands();
        LOGGER.info("[Command Manager] Loaded " + (count() - start) + " secret commands!");

        start = count();
        registerMiscCommands();
        LOGGER.info("[Command Manager] Loaded " + (count() - start) + " misc commands!");<commit_msg>He he while I'm at it<commit_after>package stream.flarebot.flarebot.commands;

import net.dv8tion.jda.core.entities.User;
import org.eclipse.jetty.util.ConcurrentHashSet;
import org.slf4j.Logger;
import stream.flarebot.flarebot.FlareBot;
import stream.flarebot.flarebot.commands.currency.*;
import stream.flarebot.flarebot.commands.general.*;
import stream.flarebot.flarebot.commands.informational.*;
import stream.flarebot.flarebot.commands.management.*;
import stream.flarebot.flarebot.commands.moderation.*;
import stream.flarebot.flarebot.commands.moderation.mod.*;
import stream.flarebot.flarebot.commands.music.*;
import stream.flarebot.flarebot.commands.random.*;
import stream.flarebot.flarebot.commands.secret.*;
import stream.flarebot.flarebot.commands.secret.internal.*;
import stream.flarebot.flarebot.commands.secret.update.*;
import stream.flarebot.flarebot.commands.useful.*;
import stream.flarebot.flarebot.permissions.PerGuildPermissions;

import javax.annotation.Nullable;
import java.util.Set;
import java.util.stream.Collectors;

public class CommandManager {

    private final Set<Command> commands = new ConcurrentHashSet<>();
    private final Logger LOGGER = FlareBot.getLog(CommandManager.class);

    public CommandManager() {
        int start = count();
        registerMusicCommands();
        LOGGER.info("[Command Manager] Loaded " + (count() - start) + " music commands!");

        start = count();
        registerGeneralCommands();
        LOGGER.info("[Command Manager] Loaded " + (count() - start) + " general commands!");

        start = count();
        registerModerationCommands();
        LOGGER.info("[Command Manager] Loaded " + (count() - start) + " moderation commands!");

        start = count();
        registerSecretCommands();
        LOGGER.info("[Command Manager] Loaded " + (count() - start) + " secret commands!");

        start = count();
        registerMiscCommands();
        LOGGER.info("[Command Manager] Loaded " + (count() - start) + " misc commands!");
{'fraction_non_alphanumeric': 0.12473969179508539, 'fraction_numerical': 0.0008329862557267805, 'mean_word_length': 4.637323943661972, 'pattern_counts': {'":': 0, '<': 7, '<?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': '3633834', 'n_tokens_mistral': 1407, 'n_tokens_neox': 1334, 'n_words': 242}