Exemplo n.º 1
0
        public async Task ThumbsUpUser(IGuildUser user = null)
        {
            string[]           tags   = { "" };
            Helpers.WebRequest webReq = new Helpers.WebRequest();
            RandomData         result = await webReq.GetTypesAsync("thumbsup", tags, FileType.Gif, NsfwSearch.False, false);

            string url = result.Url;
            string id  = result.Id;

            if (user == null)
            {
                var embed = new EmbedBuilder();
                embed.WithColor(Global.NayuColor);
                embed.WithTitle("Yoku yatta!");
                embed.WithDescription(
                    $"{Context.User.Mention} gave themselves a thumbs up, high self-esteem is good you know. \n**(Include a user with your command! Example: n!thumbsUp <person you want to give a thumbs-up>)**");
                embed.WithImageUrl(url);
                embed.WithFooter($"Powered by weeb.sh | ID: {id}");

                await SendMessage(Context, embed.Build());
            }
            else
            {
                var embed = new EmbedBuilder();
                embed.WithColor(Global.NayuColor);
                embed.WithImageUrl(url);
                embed.WithTitle("Yoku yatta!");
                embed.WithDescription($"{Context.User.Username} gave {user.Mention} a thumbs up!");
                embed.WithFooter($"Powered by weeb.sh | ID: {id}");

                await SendMessage(Context, embed.Build());
            }
        }
Exemplo n.º 2
0
        public async Task WagUser(IGuildUser user = null)
        {
            string[]           tags   = { "" };
            Helpers.WebRequest webReq = new Helpers.WebRequest();
            RandomData         result = await webReq.GetTypesAsync("wag", tags, FileType.Gif, NsfwSearch.False, false);

            string url = result.Url;
            string id  = result.Id;

            if (user == null)
            {
                var embed = new EmbedBuilder();
                embed.WithColor(Global.NayuColor);
                embed.WithTitle("Wag!");
                embed.WithDescription(
                    $"{Context.User.Mention} wagged at themselves... You know you aren't *that* funny.. \n**(Include a user with your command! Example: n!cag <person you want to wag (your imaginary tail) at>)**");
                embed.WithImageUrl(url);
                embed.WithFooter($"Powered by weeb.sh | ID: {id}");

                await SendMessage(Context, embed.Build());
            }
            else
            {
                var embed = new EmbedBuilder();
                embed.WithColor(Global.NayuColor);
                embed.WithImageUrl(url);
                embed.WithTitle("Wag!");
                embed.WithDescription($"{Context.User.Username} wagged their tail at {user.Mention}!");
                embed.WithFooter($"Powered by weeb.sh | ID: {id}");

                await SendMessage(Context, embed.Build());
            }
        }
Exemplo n.º 3
0
        public async Task ShootUser(IGuildUser user = null)
        {
            string[]           tags   = { "" };
            Helpers.WebRequest webReq = new Helpers.WebRequest();
            RandomData         result = await webReq.GetTypesAsync("bang", tags, FileType.Gif, NsfwSearch.False, false);

            string url = result.Url;
            string id  = result.Id;

            if (user == null)
            {
                var embed = new EmbedBuilder();
                embed.WithColor(Global.NayuColor);
                embed.WithTitle("Bang!");
                embed.WithDescription(
                    $"{Context.User.Mention} shot themselves! Oh noes! Here, take a max revive! \n**(Include a user with your command! Example: n!bite <person you want to bite>)**");
                embed.WithImageUrl(url);
                embed.WithFooter($"Powered by weeb.sh | ID: {id}");

                await SendMessage(Context, embed.Build());
            }
            else
            {
                var embed = new EmbedBuilder();
                embed.WithColor(Global.NayuColor);
                embed.WithImageUrl(url);
                embed.WithTitle("Bang!");
                embed.WithDescription($"{Context.User.Username} shot {user.Mention}!");
                embed.WithFooter($"Powered by weeb.sh | ID: {id}");

                await SendMessage(Context, embed.Build());
            }
        }
Exemplo n.º 4
0
Arquivo: Shrug.cs Projeto: Phytal/Nayu
        public async Task ShrugUser(IGuildUser user = null)
        {
            string[]           tags   = { "" };
            Helpers.WebRequest webReq = new Helpers.WebRequest();
            RandomData         result = await webReq.GetTypesAsync("shrug", tags, FileType.Gif, NsfwSearch.False, false);

            string url = result.Url;
            string id  = result.Id;

            if (user == null)
            {
                var embed = new EmbedBuilder();
                embed.WithColor(Global.NayuColor);
                embed.WithTitle("Shrug!");
                embed.WithDescription(
                    $"{Context.User.Mention} shrugged at themselves... I wonder what {Context.User.Username} is thinking about.. \n**(Include a user with your command! Example: n!shrug <person you want to shrug>)**");
                embed.WithImageUrl(url);
                embed.WithFooter($"Powered by weeb.sh | ID: {id}");

                await SendMessage(Context, embed.Build());
            }
            else
            {
                var embed = new EmbedBuilder();
                embed.WithColor(Global.NayuColor);
                embed.WithImageUrl(url);
                embed.WithTitle("Shrug!");
                embed.WithDescription($"{Context.User.Username} shrugged at {user.Mention}!");
                embed.WithFooter($"Powered by weeb.sh | ID: {id}");

                await SendMessage(Context, embed.Build());
            }
        }
Exemplo n.º 5
0
Arquivo: Lick.cs Projeto: Phytal/Nayu
        public async Task LickUser(IGuildUser user = null)
        {
            string[]           tags   = { "" };
            Helpers.WebRequest webReq = new Helpers.WebRequest();
            RandomData         result = await webReq.GetTypesAsync("lick", tags, FileType.Gif, NsfwSearch.False, false);

            string url = result.Url;
            string id  = result.Id;

            if (user == null)
            {
                var embed = new EmbedBuilder();
                embed.WithColor(Global.NayuColor);
                embed.WithTitle("Lick!");
                embed.WithDescription(
                    $"{Context.User.Mention} licked themselves... I'll stay out of this for now... \n**(Include a user with your command! Example: n!lick <person you want to lick>)**");
                embed.WithImageUrl(url);
                embed.WithFooter($"Powered by weeb.sh | ID: {id}");

                await SendMessage(Context, embed.Build());
            }
            else
            {
                var embed = new EmbedBuilder();
                embed.WithColor(Global.NayuColor);
                embed.WithImageUrl(url);
                embed.WithTitle("Lick!");
                embed.WithDescription($"{Context.User.Username} licked {user.Mention}!");
                embed.WithFooter($"Powered by weeb.sh | ID: {id}");

                await SendMessage(Context, embed.Build());
            }
        }
Exemplo n.º 6
0
        public async Task PunchUser(IGuildUser user = null)
        {
            string[]           tags   = { "" };
            Helpers.WebRequest webReq = new Helpers.WebRequest();
            RandomData         result = await webReq.GetTypesAsync("punch", tags, FileType.Gif, NsfwSearch.False, false);

            string url = result.Url;
            string id  = result.Id;

            if (user == null)
            {
                var embed = new EmbedBuilder();
                embed.WithColor(Global.NayuColor);
                embed.WithTitle("Punch!");
                embed.WithDescription(
                    $"{Context.User.Mention} punched themselves, that must have knocked a bit of sense into you. \n**(Include a user with your command! Example: n!punch <person you want to punch>)**");
                embed.WithImageUrl(url);
                embed.WithFooter($"Powered by weeb.sh | ID: {id}");

                await SendMessage(Context, embed.Build());
            }
            else
            {
                var embed = new EmbedBuilder();
                embed.WithColor(Global.NayuColor);
                embed.WithImageUrl(url);
                embed.WithTitle("Punch!");
                embed.WithDescription($"{Context.User.Username} punched {user.Mention}!");
                embed.WithFooter($"Powered by weeb.sh | ID: {id}");

                await SendMessage(Context, embed.Build());
            }
        }
Exemplo n.º 7
0
        public async Task StareUser(IGuildUser user = null)
        {
            string[]           tags   = { "" };
            Helpers.WebRequest webReq = new Helpers.WebRequest();
            RandomData         result = await webReq.GetTypesAsync("stare", tags, FileType.Gif, NsfwSearch.False, false);

            string url = result.Url;
            string id  = result.Id;

            if (user == null)
            {
                var embed = new EmbedBuilder();
                embed.WithColor(Global.NayuColor);
                embed.WithTitle("Chiiiiii...");
                embed.WithDescription(
                    $"{Context.User.Mention} is staring at themselves! You know, you can't win a staring contest against a mirror.. \n**(Include a user with your command! Example: n!stare <person you want to stare at>)**");
                embed.WithImageUrl(url);
                embed.WithFooter($"Powered by weeb.sh | ID: {id}");

                await SendMessage(Context, embed.Build());
            }
            else
            {
                var embed = new EmbedBuilder();
                embed.WithColor(Global.NayuColor);
                embed.WithImageUrl(url);
                embed.WithTitle("Chiiiiii...");
                embed.WithDescription($"{Context.User.Username} is staring at {user.Mention}!");
                embed.WithFooter($"Powered by weeb.sh | ID: {id}");

                await SendMessage(Context, embed.Build());
            }
        }
Exemplo n.º 8
0
        public async Task WaifuInsultUser(IGuildUser user = null)
        {
            string[]           tags   = { "" };
            Helpers.WebRequest webReq = new Helpers.WebRequest();
            RandomData         result = await webReq.GetTypesAsync("waifu_insult", tags, FileType.Gif, NsfwSearch.False, false);

            string url = result.Url;
            string id  = result.Id;

            if (user == null)
            {
                var embed = new EmbedBuilder();
                embed.WithColor(Global.NayuColor);
                embed.WithTitle("Insult!");
                embed.WithDescription(
                    $"{Context.User.Mention} insulted their own waifu! Wait, was that me? That's it, {Context.User.Username}, we're not friends anymore. \n**(Include a user with your command! Example: n!caifuInsult <person you want to insult>)**");
                embed.WithImageUrl(url);
                embed.WithFooter($"Powered by weeb.sh | ID: {id}");

                await SendMessage(Context, embed.Build());
            }
            else
            {
                var embed = new EmbedBuilder();
                embed.WithColor(Global.NayuColor);
                embed.WithImageUrl(url);
                embed.WithTitle("Insult!");
                embed.WithDescription($"{Context.User.Username} insulted {user.Mention}'s waifu!");
                embed.WithFooter($"Powered by weeb.sh | ID: {id}");

                await SendMessage(Context, embed.Build());
            }
        }
Exemplo n.º 9
0
        public async Task HandHoldUser(IGuildUser user = null)
        {
            string[]           tags   = { "" };
            Helpers.WebRequest webReq = new Helpers.WebRequest();
            RandomData         result = await webReq.GetTypesAsync("handholding", tags, FileType.Gif, NsfwSearch.False, false);

            string url = result.Url;
            string id  = result.Id;

            if (user == null)
            {
                var embed = new EmbedBuilder();
                embed.WithColor(Global.NayuColor);
                embed.WithTitle("kawaii-ne!");
                embed.WithDescription(
                    $"{Context.User.Mention} held their own hand! Hey, I thought you loved ***me**, {Context.User.Username}! \n**(Include a user with your command! Example: n!holdHand <person you want to hold hands with>)**");
                embed.WithImageUrl(url);
                embed.WithFooter($"Powered by weeb.sh | ID: {id}");

                await SendMessage(Context, embed.Build());
            }
            else
            {
                var embed = new EmbedBuilder();
                embed.WithColor(Global.NayuColor);
                embed.WithImageUrl(url);
                embed.WithTitle("kawaii-ne!");
                embed.WithDescription($"{Context.User.Username} is holding hands with {user.Mention}!");
                embed.WithFooter($"Powered by weeb.sh | ID: {id}");

                await SendMessage(Context, embed.Build());
            }
        }
Exemplo n.º 10
0
Arquivo: Dab.cs Projeto: Phytal/Nayu
        public async Task DabUser(IGuildUser user = null)
        {
            string[]           tags   = { "" };
            Helpers.WebRequest webReq = new Helpers.WebRequest();
            RandomData         result = await webReq.GetTypesAsync("dab", tags, FileType.Gif, NsfwSearch.False, false);

            string url = result.Url;
            string id  = result.Id;

            if (user == null)
            {
                var embed = new EmbedBuilder();
                embed.WithColor(Global.NayuColor);
                embed.WithTitle("Dab!");
                embed.WithDescription(
                    $"{Context.User.Mention} dabbed on themselves! Woah where are your friends? \n**(Include a user with your command! Example: n!dab <person you want to dab on>)**");
                embed.WithImageUrl(url);
                embed.WithFooter($"Powered by weeb.sh | ID: {id}");

                await SendMessage(Context, embed.Build());
            }
            else
            {
                var embed = new EmbedBuilder();
                embed.WithColor(Global.NayuColor);
                embed.WithImageUrl(url);
                embed.WithTitle("Dab!");
                embed.WithDescription($"{Context.User.Username} dabbed {user.Mention}!");
                embed.WithFooter($"Powered by weeb.sh | ID: {id}");

                await SendMessage(Context, embed.Build());
            }
        }
Exemplo n.º 11
0
        public async Task CryUser(IGuildUser user = null)
        {
            string[]           tags   = { "" };
            Helpers.WebRequest webReq = new Helpers.WebRequest();
            RandomData         result = await webReq.GetTypesAsync("cry", tags, FileType.Gif, NsfwSearch.False, false);

            string url = result.Url;
            string id  = result.Id;

            if (user == null)
            {
                var embed = new EmbedBuilder();
                embed.WithColor(Global.NayuColor);
                embed.WithTitle("Waaahhh!");
                embed.WithDescription(
                    $"{Context.User.Mention} cried for no reason... awww, don't worry I'll always be here for you! \n**(Include a user with your command! Example: n!bite <person you want to bite>)**");
                embed.WithImageUrl(url);
                embed.WithFooter($"Powered by weeb.sh | ID: {id}");

                await SendMessage(Context, embed.Build());
            }
            else
            {
                var embed = new EmbedBuilder();
                embed.WithColor(Global.NayuColor);
                embed.WithImageUrl(url);
                embed.WithTitle("Waaahhh!");
                embed.WithDescription($"{Context.User.Username} cried at {user.Mention}!");
                embed.WithFooter($"Powered by weeb.sh | ID: {id}");

                await SendMessage(Context, embed.Build());
            }
        }
Exemplo n.º 12
0
        public async Task GreetUser(IGuildUser user = null)
        {
            string[]           tags   = { "" };
            Helpers.WebRequest webReq = new Helpers.WebRequest();
            RandomData         result = await webReq.GetTypesAsync("greet", tags, FileType.Gif, NsfwSearch.False, false);

            string url = result.Url;
            string id  = result.Id;

            if (user == null)
            {
                var embed = new EmbedBuilder();
                embed.WithColor(Global.NayuColor);
                embed.WithTitle("Konichiwa!");
                embed.WithDescription(
                    $"{Context.User.Mention} greeted themselves! You know I'm here.. right? \n**(Include a user with your command! Example: n!greet <person you want to greet>)**");
                embed.WithImageUrl(url);
                embed.WithFooter($"Powered by weeb.sh | ID: {id}");

                await SendMessage(Context, embed.Build());
            }
            else
            {
                var embed = new EmbedBuilder();
                embed.WithColor(Global.NayuColor);
                embed.WithImageUrl(url);
                embed.WithTitle("Konichiwa!");
                embed.WithDescription($"{Context.User.Username} greeted {user.Mention}!");
                embed.WithFooter($"Powered by weeb.sh | ID: {id}");

                await SendMessage(Context, embed.Build());
            }
        }
Exemplo n.º 13
0
        public async Task HighFiveUser(IGuildUser user = null)
        {
            string[]           tags   = { "" };
            Helpers.WebRequest webReq = new Helpers.WebRequest();
            RandomData         result = await webReq.GetTypesAsync("highfive", tags, FileType.Gif, NsfwSearch.False, false);

            string url = result.Url;
            string id  = result.Id;

            if (user == null)
            {
                var embed = new EmbedBuilder();
                embed.WithColor(Global.NayuColor);
                embed.WithTitle("High Five!");
                embed.WithDescription(
                    $"{Context.User.Mention} highfived themselves.. that was a pretty nice clap, {Context.User.Username}. \n**(Include a user with your command! Example: n!highfive <person you want to highfive>)**");
                embed.WithImageUrl(url);
                embed.WithFooter($"Powered by weeb.sh | ID: {id}");

                await SendMessage(Context, embed.Build());
            }
            else
            {
                var embed = new EmbedBuilder();
                embed.WithColor(Global.NayuColor);
                embed.WithImageUrl(url);
                embed.WithTitle("High Five!");
                embed.WithDescription($"{Context.User.Username} high fived {user.Mention}!");
                embed.WithFooter($"Powered by weeb.sh | ID: {id}");

                await SendMessage(Context, embed.Build());
            }
        }
Exemplo n.º 14
0
        public async Task TriggeredUser(IGuildUser user = null)
        {
            string[]           tags   = { "" };
            Helpers.WebRequest webReq = new Helpers.WebRequest();
            RandomData         result = await webReq.GetTypesAsync("triggered", tags, FileType.Gif, NsfwSearch.False, false);

            string url = result.Url;
            string id  = result.Id;

            if (user == null)
            {
                var embed = new EmbedBuilder();
                embed.WithColor(Global.NayuColor);
                embed.WithTitle("Triggered!");
                embed.WithDescription(
                    $"{Context.User.Mention} is triggered at themselves! What happened? May I be of assistance? \n**(Include a user with your command! Example: n!triggered <person you want to be triggered at>)**");
                embed.WithImageUrl(url);
                embed.WithFooter($"Powered by weeb.sh | ID: {id}");

                await SendMessage(Context, embed.Build());
            }
            else
            {
                var embed = new EmbedBuilder();
                embed.WithColor(Global.NayuColor);
                embed.WithImageUrl(url);
                embed.WithTitle("Triggered!");
                embed.WithDescription($"{Context.User.Username} is triggered {user.Mention}!");
                embed.WithFooter($"Powered by weeb.sh | ID: {id}");

                await SendMessage(Context, embed.Build());
            }
        }
Exemplo n.º 15
0
        public async Task KillUser(IGuildUser user = null)
        {
            string[]           tags   = { "" };
            Helpers.WebRequest webReq = new Helpers.WebRequest();
            RandomData         result = await webReq.GetTypesAsync("wasted", tags, FileType.Gif, NsfwSearch.False, false);

            string url = result.Url;
            string id  = result.Id;

            if (user == null)
            {
                var embed = new EmbedBuilder();
                embed.WithColor(Global.NayuColor);
                embed.WithTitle("Wasted!");
                embed.WithDescription(
                    $"{Context.User.Mention} killed themselves... I guess the world is cruel to everyone... \n**(Include a user with your command! Example: n!kill <person you want to kill>)**");
                embed.WithImageUrl(url);
                embed.WithFooter($"Powered by weeb.sh | ID: {id}");

                await SendMessage(Context, embed.Build());
            }
            else
            {
                var embed = new EmbedBuilder();
                embed.WithColor(Global.NayuColor);
                embed.WithImageUrl(url);
                embed.WithTitle("Wasted!");
                embed.WithDescription($"{Context.User.Username} killed {user.Mention}!");
                embed.WithFooter($"Powered by weeb.sh | ID: {id}");

                await SendMessage(Context, embed.Build());
            }
        }
Exemplo n.º 16
0
        public static async Task LewdLoop(SocketMessage s)
        {
            var msg     = s as SocketUserMessage;
            var context = new ShardedCommandContext(_client, msg);
            var config  = GlobalGuildAccounts.GetGuildAccount(context.Guild.Id);

            while (true)
            {
                var embed = new EmbedBuilder();
                int rand  = Global.Rng.Next(1, 3);
                if (rand == 1)
                {
                    string json = "";
                    using (WebClient client = new WebClient())
                    {
                        json = client.DownloadString("https://nekos.life/api/v2/img/lewd");
                    }

                    var dataObject = JsonConvert.DeserializeObject <dynamic>(json);

                    string nekolink = dataObject.url.ToString();
                    embed.WithColor(37, 152, 255);
                    embed.WithTitle("Randomly generated lewd neko just for you <3!");
                    embed.WithImageUrl(nekolink);
                    embed.WithFooter($"Powered by nekos.life");
                }

                if (rand == 2)
                {
                    string[]           tags   = new[] { "" };
                    Helpers.WebRequest webReq = new Helpers.WebRequest();
                    RandomData         result = await webReq.GetTypesAsync("neko", tags, FileType.Any, NsfwSearch.Only, false);

                    string url = result.Url;
                    string id  = result.Id;

                    embed.WithColor(37, 152, 255);
                    embed.WithTitle("Lewd!");
                    embed.WithDescription(
                        $"{context.User.Mention} here's some lewd anime girls at your disposal :3");
                    embed.WithImageUrl(url);
                    embed.WithFooter($"Powered by weeb.sh | ID: {id}");
                }

                if (config.AutoLewdStatus == false)
                {
                    break;
                }
                Thread.Sleep(5000);
                await _client.GetGuild(config.Id).GetTextChannel(config.AutoLewdChannel)
                .SendMessageAsync("", false, embed.Build());
            }
        }
Exemplo n.º 17
0
        public async Task owoIMG()
        {
            string[]           tags   = new[] { "" };
            Helpers.WebRequest webReq = new Helpers.WebRequest();
            RandomData         result = await webReq.GetTypesAsync("owo", tags, FileType.Any, NsfwSearch.False, false);

            string url   = result.Url;
            string id    = result.Id;
            var    embed = new EmbedBuilder();

            embed.WithColor(37, 152, 255);
            embed.WithTitle("owo");
            embed.WithDescription(
                $"owo");
            embed.WithImageUrl(url);
            embed.WithFooter($"Powered by weeb.sh | ID: {id} | owo");

            await Context.Channel.SendMessageAsync("", embed : embed.Build());
        }