<commit_before>package com.mrpowergamerbr.loritta.commands.vanilla.social

import com.mrpowergamerbr.loritta.commands.CommandBase
import com.mrpowergamerbr.loritta.commands.CommandCategory
import com.mrpowergamerbr.loritta.commands.CommandContext
import com.mrpowergamerbr.loritta.utils.locale.BaseLocale
import com.mrpowergamerbr.loritta.utils.loritta
import com.mrpowergamerbr.loritta.utils.msgFormat
import com.mrpowergamerbr.loritta.utils.save
import java.util.*

class SobreMimCommand : CommandBase() {
    override fun getLabel():String {
        return "sobremim";
    }

    override fun getUsage(): String {
        return "<nova mensagem>"
    }

    override fun getAliases(): MutableList<String> {
         return Arrays.asList("aboutme");
    }

    override fun getDescription(locale: BaseLocale): String {
        return locale.SOBREMIM_DESCRIPTION;
    }

    override fun getCategory(): CommandCategory {
         return CommandCategory.SOCIAL;
    }

    override fun run(context: CommandContext) {
        var profile = context.lorittaUser.profile;
        if (context.args.size > 0) {
            profile.aboutMe = context.args.joinToString(" ");
            context.sendMessage(context.getAsMention(true) + context.locale.SOBREMIM_DESCRIPTION.msgFormat(profile.aboutMe))
            loritta save profile
        } else {
            this.explain(context);
        }
    }
}<commit_msg>:bug: | Corrigir bug no "+sobremim"<commit_after>package com.mrpowergamerbr.loritta.commands.vanilla.social

import com.mrpowergamerbr.loritta.commands.CommandBase
import com.mrpowergamerbr.loritta.commands.CommandCategory
import com.mrpowergamerbr.loritta.commands.CommandContext
import com.mrpowergamerbr.loritta.utils.locale.BaseLocale
import com.mrpowergamerbr.loritta.utils.loritta
import com.mrpowergamerbr.loritta.utils.msgFormat
import com.mrpowergamerbr.loritta.utils.save
import java.util.*

class SobreMimCommand : CommandBase() {
    override fun getLabel():String {
        return "sobremim";
    }

    override fun getUsage(): String {
        return "<nova mensagem>"
    }

    override fun getAliases(): MutableList<String> {
         return Arrays.asList("aboutme");
    }

    override fun getDescription(locale: BaseLocale): String {
        return locale.SOBREMIM_DESCRIPTION;
    }

    override fun getCategory(): CommandCategory {
         return CommandCategory.SOCIAL;
    }

    override fun run(context: CommandContext) {
        var profile = context.lorittaUser.profile;
        if (context.args.size > 0) {
            profile.aboutMe = context.args.joinToString(" ");
            context.sendMessage(context.getAsMention(true) + context.locale.SOBREMIM_CHANGED.msgFormat(profile.aboutMe))
            loritta save profile
        } else {
            this.explain(context);
        }
    }
}
{'fraction_non_alphanumeric': 0.09681978798586573, 'fraction_numerical': 0.0007067137809187279, 'mean_word_length': 3.3287461773700304, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, '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': '986514', 'n_tokens_mistral': 849, 'n_tokens_neox': 829, 'n_words': 146}