<commit_before>package ml.duncte123.skybot.commands.uncategorized

import ml.duncte123.skybot.objects.command.Command
import ml.duncte123.skybot.utils.AirUtils
import ml.duncte123.skybot.utils.EmbedUtils
import net.dv8tion.jda.core.events.message.guild.GuildMessageReceivedEvent

class SuggestCommand: Command() {

    val suggestMessage = AirUtils.CONFIG.get("messages.suggest")
            ?: """|Put your suggestions at [our Trello board](https://trello.com/b/iSaxpcGR/skybot-suggestions "Suggest to Dunctebot here!"
            |Or use our [dashboard suggestion site](https://bot.duncte123.me/suggest.py).""".trimMargin()
                

    override fun executeCommand(invoke: String, args: Array<out String>, event: GuildMessageReceivedEvent) {
        var embed = EmbedUtils.defaultEmbed().setDscription(suggestMessage).build()

        event.author.openPrivateChannel().queue {
            it.sendMessage(embed).queue({}, {
                event.channel.sendMessage(embed).queue()
            })
        }
    }

    override fun getName() = "suggest"

    override fun help() = "Suggest something to be in Dunctebot!"
}<commit_msg>For real tho, this can be a oneliner<commit_after>package ml.duncte123.skybot.commands.uncategorized

import ml.duncte123.skybot.objects.command.Command
import ml.duncte123.skybot.utils.MessageUtils
import net.dv8tion.jda.core.events.message.guild.GuildMessageReceivedEvent

class SuggestCommand: Command() {

    override fun executeCommand(invoke: String, args: Array<out String>, event: GuildMessageReceivedEvent) {
        MessageUtils.sendMsg(event, "You can leave suggestions for the bot on his page: https://bot.duncte123.me/suggest.html")
    }

    override fun getName() = "suggest"

    override fun help() = "Suggest something to be in Dunctebot!"
}
{'fraction_non_alphanumeric': 0.11148086522462562, 'fraction_numerical': 0.01608430393788131, 'mean_word_length': 3.849462365591398, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 3, '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': '4444237', 'n_tokens_mistral': 576, 'n_tokens_neox': 531, 'n_words': 113}