<commit_before>﻿using System;
using System.Security.Cryptography.X509Certificates;
using System.Threading.Tasks;
using Discord;
using Discord.Commands;
using Discord.WebSocket;
using Humanizer;
using SoraBot_v2.Data.Entities;
using SoraBot_v2.Services;

namespace SoraBot_v2.Module
{
    public class FunModule : ModuleBase<SocketCommandContext>
    {

        private string[] ball = new[]
        {
            "Signs point to yes. ",
            "Yes.",
            "Reply hazy, try again.",
            "Without a doubt. ",
            "My sources say no. ",
            "As I see it, yes. ",
            "You may rely on it.",
            "Concentrate and ask again.",
            "Outlook not so good. ",
            "It is decidedly so.",
            "Better not tell you now.",
            "Very doubtful. ",
            "Yes - definitely. ",
            "It is certain. ",
            "Cannot predict now. ",
            "Most likely. ",
            "Ask again later. ",
            "My reply is no. ",
            "Outlook good. ",
            "Don't count on it."
        };

        private string[] rpsChoose = new[] {"paper", "scissor", "rock"};

        [Command("8ball"), Alias("8b"), Summary("Ask and get an 8ball answer")]
        public async Task Ball([Summary("Question"), Remainder] string question)
        {
            Random r = new Random();
            await Context.Channel.SendMessageAsync("", embed: Utility.ResultFeedback(
                Utility.PurpleEmbed, Utility.SuccessLevelEmoji[4], "🎱 "+ball[r.Next(ball.Length)]));
        }
        
        [Command("kawaii"), Alias("cute", "men", "man", "cuteness", "kawai"), Summary("What all men seek!")]
        public async Task Kawaii()
        {
            var eb = new EmbedBuilder()
            {
                ImageUrl = "https://i.imgur.com/dCFgsvy.gifv",
                Color = Utility.PurpleEmbed
            };
            await ReplyAsync("", embed: eb);
        }


        [Command("rps"), Alias("rockpaperscissor"), Summary("Play rock paper scissor with Sora")]
        public async Task RPS([Remainder]string chose)
        {
            chose = chose.ToLower();
            Random r= new Random();
            string botRps = rpsChoose[r.Next(rpsChoose.Length)];
            
            switch (chose)
            {
                case ("paper"):
                    if (botRps == "rock")
                    {
                        //win
                        await Context.Channel.SendMessageAsync("", embed: Utility.ResultFeedback(
                            Utility.PurpleEmbed, Utility.SuccessLevelEmoji[4], "😀 You won!").WithDescription($"Sora chose `{botRps.Humanize()}`"));
                    }
                    else if (botRps == "paper")
                    {
                        //Draw
                        await Context.Channel.SendMessageAsync("", embed: Utility.ResultFeedback(
                            Utility.PurpleEmbed, Utility.SuccessLevelEmoji[4], "😐 It's a draw!").WithDescription($"Sora chose `{botRps.Humanize()}`"));
                    }<commit_msg>actually added the fucking kawaii command #5 im a fucking retard kthx<commit_after>﻿using System;
using System.Security.Cryptography.X509Certificates;
using System.Threading.Tasks;
using Discord;
using Discord.Commands;
using Discord.WebSocket;
using Humanizer;
using SoraBot_v2.Data.Entities;
using SoraBot_v2.Services;

namespace SoraBot_v2.Module
{
    public class FunModule : ModuleBase<SocketCommandContext>
    {

        private string[] ball = new[]
        {
            "Signs point to yes. ",
            "Yes.",
            "Reply hazy, try again.",
            "Without a doubt. ",
            "My sources say no. ",
            "As I see it, yes. ",
            "You may rely on it.",
            "Concentrate and ask again.",
            "Outlook not so good. ",
            "It is decidedly so.",
            "Better not tell you now.",
            "Very doubtful. ",
            "Yes - definitely. ",
            "It is certain. ",
            "Cannot predict now. ",
            "Most likely. ",
            "Ask again later. ",
            "My reply is no. ",
            "Outlook good. ",
            "Don't count on it."
        };

        private string[] rpsChoose = new[] {"paper", "scissor", "rock"};

        [Command("8ball"), Alias("8b"), Summary("Ask and get an 8ball answer")]
        public async Task Ball([Summary("Question"), Remainder] string question)
        {
            Random r = new Random();
            await Context.Channel.SendMessageAsync("", embed: Utility.ResultFeedback(
                Utility.PurpleEmbed, Utility.SuccessLevelEmoji[4], "🎱 "+ball[r.Next(ball.Length)]));
        }
        
        [Command("kawaii"), Alias("cute", "men", "man", "cuteness", "kawai"), Summary("What all men seek!")]
        public async Task Kawaii()
        {
            var eb = new EmbedBuilder()
            {
                ImageUrl = "https://i.imgur.com/gz7enYI.gif",
                Color = Utility.PurpleEmbed
            };
            await ReplyAsync("", embed: eb);
        }


        [Command("rps"), Alias("rockpaperscissor"), Summary("Play rock paper scissor with Sora")]
        public async Task RPS([Remainder]string chose)
        {
            chose = chose.ToLower();
            Random r= new Random();
            string botRps = rpsChoose[r.Next(rpsChoose.Length)];
            
            switch (chose)
            {
                case ("paper"):
                    if (botRps == "rock")
                    {
                        //win
                        await Context.Channel.SendMessageAsync("", embed: Utility.ResultFeedback(
                            Utility.PurpleEmbed, Utility.SuccessLevelEmoji[4], "😀 You won!").WithDescription($"Sora chose `{botRps.Humanize()}`"));
                    }
                    else if (botRps == "paper")
                    {
                        //Draw
                        await Context.Channel.SendMessageAsync("", embed: Utility.ResultFeedback(
                            Utility.PurpleEmbed, Utility.SuccessLevelEmoji[4], "😐 It's a draw!").WithDescription($"Sora chose `{botRps.Humanize()}`"));
                    }
{'fraction_non_alphanumeric': 0.12538030424339472, 'fraction_numerical': 0.004163330664531626, 'mean_word_length': 1.6221662468513853, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, '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': '5513661', 'n_tokens_mistral': 1776, 'n_tokens_neox': 1690, 'n_words': 441}