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

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

            if (user == null)
            {
                var embed = new EmbedBuilder();
                embed.WithColor(37, 152, 255);
                embed.WithTitle("Pout!");
                embed.WithDescription(
                    $"{Context.User.Mention} is pouting at themselves, you know everyone makes mistakes, right? \n**(Include a user with your command! Example: w!pout <person you want to pout at>)**");
                embed.WithImageUrl(url);
                embed.WithFooter($"Powered by weeb.sh | ID: {id}");

                await Context.Channel.SendMessageAsync("", embed : embed.Build());
            }
            else
            {
                var embed = new EmbedBuilder();
                embed.WithColor(37, 152, 255);
                embed.WithImageUrl(url);
                embed.WithTitle("Pout!");
                embed.WithDescription($"{Context.User.Username} is pouting at {user.Mention}!");
                embed.WithFooter($"Powered by weeb.sh | ID: {id}");

                await Context.Channel.SendMessageAsync("", embed : embed.Build());
            }
        }
Exemplo n.º 2
0
        public async Task StareUser(IGuildUser user = null)
        {
            string[]           tags   = new[] { "" };
            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(37, 152, 255);
                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: w!stare <person you want to stare at>)**");
                embed.WithImageUrl(url);
                embed.WithFooter($"Powered by weeb.sh | ID: {id}");

                await Context.Channel.SendMessageAsync("", embed : embed.Build());
            }
            else
            {
                var embed = new EmbedBuilder();
                embed.WithColor(37, 152, 255);
                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 Context.Channel.SendMessageAsync("", embed : embed.Build());
            }
        }
Exemplo n.º 3
0
        public async Task PunchUser(IGuildUser user = null)
        {
            string[]           tags   = new[] { "" };
            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(37, 152, 255);
                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: w!punch <person you want to punch>)**");
                embed.WithImageUrl(url);
                embed.WithFooter($"Powered by weeb.sh | ID: {id}");

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

                await Context.Channel.SendMessageAsync("", embed : embed.Build());
            }
        }
Exemplo n.º 4
0
        public async Task LickUser(IGuildUser user = null)
        {
            string[]           tags   = new[] { "" };
            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(37, 152, 255);
                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: w!lick <person you want to lick>)**");
                embed.WithImageUrl(url);
                embed.WithFooter($"Powered by weeb.sh | ID: {id}");

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

                await Context.Channel.SendMessageAsync("", embed : embed.Build());
            }
        }
Exemplo n.º 5
0
        public async Task ThumbsUpUser(IGuildUser user = null)
        {
            string[]           tags   = new[] { "" };
            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(37, 152, 255);
                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: w!thumbsUp <person you want to give a thumbs-up>)**");
                embed.WithImageUrl(url);
                embed.WithFooter($"Powered by weeb.sh | ID: {id}");

                await Context.Channel.SendMessageAsync("", embed : embed.Build());
            }
            else
            {
                var embed = new EmbedBuilder();
                embed.WithColor(37, 152, 255);
                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 Context.Channel.SendMessageAsync("", embed : embed.Build());
            }
        }
Exemplo n.º 6
0
        public async Task DanceUser(IGuildUser user = null)
        {
            string[]           tags   = new[] { "" };
            Helpers.WebRequest webReq = new Helpers.WebRequest();
            RandomData         result = await webReq.GetTypesAsync("dance", tags, FileType.Gif, NsfwSearch.False, false);

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

            if (user == null)
            {
                var embed = new EmbedBuilder();
                embed.WithColor(37, 152, 255);
                embed.WithTitle("Dance!");
                embed.WithDescription(
                    $"{Context.User.Mention} danced with themselves.. *I'm just going to whip out my camera...*? \n**(Include a user with your command! Example: w!dance <person you want to dance with>)**");
                embed.WithImageUrl(url);
                embed.WithFooter($"Powered by weeb.sh | ID: {id}");

                await Context.Channel.SendMessageAsync("", embed : embed.Build());
            }
            else
            {
                var embed = new EmbedBuilder();
                embed.WithColor(37, 152, 255);
                embed.WithImageUrl(url);
                embed.WithTitle("Dance!");
                embed.WithDescription($"{Context.User.Username} danced with {user.Mention}!");
                embed.WithFooter($"Powered by weeb.sh | ID: {id}");

                await Context.Channel.SendMessageAsync("", embed : embed.Build());
            }
        }
Exemplo n.º 7
0
        public async Task WagUser(IGuildUser user = null)
        {
            string[]           tags   = new[] { "" };
            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(37, 152, 255);
                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: w!wag <person you want to wag (your imaginary tail) at>)**");
                embed.WithImageUrl(url);
                embed.WithFooter($"Powered by weeb.sh | ID: {id}");

                await Context.Channel.SendMessageAsync("", embed : embed.Build());
            }
            else
            {
                var embed = new EmbedBuilder();
                embed.WithColor(37, 152, 255);
                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 Context.Channel.SendMessageAsync("", embed : embed.Build());
            }
        }
Exemplo n.º 8
0
        public async Task KillUser(IGuildUser user = null)
        {
            string[]           tags   = new[] { "" };
            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(37, 152, 255);
                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: w!kill <person you want to kill>)**");
                embed.WithImageUrl(url);
                embed.WithFooter($"Powered by weeb.sh | ID: {id}");

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

                await Context.Channel.SendMessageAsync("", embed : embed.Build());
            }
        }
Exemplo n.º 9
0
        public async Task AnyUser([Remainder] string type)
        {
            try
            {
                string[]           tags   = new[] { "" };
                Helpers.WebRequest webReq = new Helpers.WebRequest();
                RandomData         result = await webReq.GetTypesAsync(type, 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("QWERTY!");
                embed.WithDescription($"Looks like {Context.User.Username} is interested in some {type} owo");
                embed.WithImageUrl(url);
                embed.WithFooter($"Powered by weeb.sh | ID: {id}");

                await Context.Channel.SendMessageAsync("", embed : embed.Build());
            }
            catch (Exception e)
            {
                await Context.Channel.SendMessageAsync(
                    "Did you enter a valid type? \nView all types with the `w!weebtypes` command" +
                    "\nOtherwise did you use the command correctly?\nUsage: w!anyweeb <type> Ex: w!anyweeb lick");
            }
        }
Exemplo n.º 10
0
        public async Task WaifuInsultUser(IGuildUser user = null)
        {
            string[]           tags   = new[] { "" };
            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(37, 152, 255);
                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: w!waifuInsult <person you want to insult>)**");
                embed.WithImageUrl(url);
                embed.WithFooter($"Powered by weeb.sh | ID: {id}");

                await Context.Channel.SendMessageAsync("", embed : embed.Build());
            }
            else
            {
                var embed = new EmbedBuilder();
                embed.WithColor(37, 152, 255);
                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 Context.Channel.SendMessageAsync("", embed : embed.Build());
            }
        }
Exemplo n.º 11
0
        public async Task HighFiveUser(IGuildUser user = null)
        {
            string[]           tags   = new[] { "" };
            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(37, 152, 255);
                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: w!highfive <person you want to highfive>)**");
                embed.WithImageUrl(url);
                embed.WithFooter($"Powered by weeb.sh | ID: {id}");

                await Context.Channel.SendMessageAsync("", embed : embed.Build());
            }
            else
            {
                var embed = new EmbedBuilder();
                embed.WithColor(37, 152, 255);
                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 Context.Channel.SendMessageAsync("", embed : embed.Build());
            }
        }
Exemplo n.º 12
0
        public async Task CryUser(IGuildUser user = null)
        {
            string[]           tags   = new[] { "" };
            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(37, 152, 255);
                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: w!bite <person you want to bite>)**");
                embed.WithImageUrl(url);
                embed.WithFooter($"Powered by weeb.sh | ID: {id}");

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

                await Context.Channel.SendMessageAsync("", embed : embed.Build());
            }
        }
Exemplo n.º 13
0
        public async Task HandHoldUser(IGuildUser user = null)
        {
            string[]           tags   = new[] { "" };
            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(37, 152, 255);
                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: w!holdHand <person you want to hold hands with>)**");
                embed.WithImageUrl(url);
                embed.WithFooter($"Powered by weeb.sh | ID: {id}");

                await Context.Channel.SendMessageAsync("", embed : embed.Build());
            }
            else
            {
                var embed = new EmbedBuilder();
                embed.WithColor(37, 152, 255);
                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 Context.Channel.SendMessageAsync("", embed : embed.Build());
            }
        }
Exemplo n.º 14
0
        public async Task TriggeredUser(IGuildUser user = null)
        {
            string[]           tags   = new[] { "" };
            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(37, 152, 255);
                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: w!triggered <person you want to be triggered at>)**");
                embed.WithImageUrl(url);
                embed.WithFooter($"Powered by weeb.sh | ID: {id}");

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

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

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

            if (user == null)
            {
                var embed = new EmbedBuilder();
                embed.WithColor(37, 152, 255);
                embed.WithTitle("Hehe!");
                embed.WithDescription(
                    $"{Context.User.Mention} was smug at themselves, self-infatuation much? \n**(Include a user with your command! Example: w!smug <person you want to be smug at>)**");
                embed.WithImageUrl(url);
                embed.WithFooter($"Powered by weeb.sh | ID: {id}");

                await Context.Channel.SendMessageAsync("", embed : embed.Build());
            }
            else
            {
                var embed = new EmbedBuilder();
                embed.WithColor(37, 152, 255);
                embed.WithImageUrl(url);
                embed.WithTitle("Hehe!");
                embed.WithDescription($"{Context.User.Username} is looking all smug at {user.Mention}!");
                embed.WithFooter($"Powered by weeb.sh | ID: {id}");

                await Context.Channel.SendMessageAsync("", embed : embed.Build());
            }
        }
Exemplo n.º 16
0
        public async Task ShootUser(IGuildUser user = null)
        {
            string[]           tags   = new[] { "" };
            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(37, 152, 255);
                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: w!bite <person you want to bite>)**");
                embed.WithImageUrl(url);
                embed.WithFooter($"Powered by weeb.sh | ID: {id}");

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

                await Context.Channel.SendMessageAsync("", embed : embed.Build());
            }
        }
Exemplo n.º 17
0
        public async Task bakaUser(IGuildUser user = null)
        {
            int rand = Global.Rng.Next(1, 3);

            if (rand == 1)
            {
                string[]           tags   = new[] { "" };
                Helpers.WebRequest webReq = new Helpers.WebRequest();
                RandomData         result = await webReq.GetTypesAsync("baka", tags, FileType.Gif, NsfwSearch.False, false);

                string url = result.Url;
                string id  = result.Id;
                if (user == null)
                {
                    var embed = new EmbedBuilder();
                    embed.WithColor(37, 152, 255);
                    embed.WithTitle("Baka!");
                    embed.WithDescription(
                        $"{Context.User.Mention} called themselves a baka! I kind of agree with that.. \n**(Include a user with your command! Example: w!baka <person you want to call a baka>)**");
                    embed.WithImageUrl(url);
                    embed.WithFooter($"Powered by weeb.sh | ID: {id}");

                    await Context.Channel.SendMessageAsync("", embed : embed.Build());
                }
                else
                {
                    var embed = new EmbedBuilder();
                    embed.WithColor(37, 152, 255);
                    embed.WithImageUrl(url);
                    embed.WithTitle("Baka!");
                    embed.WithDescription($"{Context.User.Username} called {user.Mention} a baka!");
                    embed.WithFooter($"Powered by weeb.sh | ID: {id}");

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

            if (rand == 2)
            {
                {
                    string json = "";
                    using (WebClient client = new WebClient())
                    {
                        json = client.DownloadString("https://nekos.life/api/v2/img/baka");
                    }

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

                    string nekolink = dataObject.url.ToString();

                    var embed = new EmbedBuilder();
                    embed.WithTitle("Randomly generated neko just for you <3!");
                    embed.WithImageUrl(nekolink);
                    embed.WithFooter($"Powered by nekos.life");

                    await Context.Channel.SendMessageAsync("", embed : embed.Build());
                }
            }
        }
Exemplo n.º 18
0
        public async Task GetRandomNekoLewd()
        {
            var channel = Context.Channel as ITextChannel;

            if (channel.IsNsfw)
            {
                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();

                    var embed = new EmbedBuilder();
                    embed.WithTitle("Randomly generated lewd neko just for you <3!");
                    embed.WithImageUrl(nekolink);
                    embed.WithFooter($"Powered by nekos.life");
                    await Context.Channel.SendMessageAsync("", embed : embed.Build());
                }

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

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

                    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}");

                    await Context.Channel.SendMessageAsync("", embed : embed.Build());
                }
            }
            else
            {
                var embed = new EmbedBuilder();
                embed.WithColor(37, 152, 255);
                embed.Title = $":x:  | You need to use this command in a NSFW channel, {Context.User.Username}!";
                await ReplyAndDeleteAsync("", embed : embed.Build(), timeout : TimeSpan.FromSeconds(5));
            }
        }
Exemplo n.º 19
0
        public async Task GetRandomNeko()
        {
            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/neko");
                }

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

                string nekolink = dataObject.url.ToString();

                var embed = new EmbedBuilder();
                embed.WithTitle("Randomly generated neko just for you <3!");
                embed.WithImageUrl(nekolink);
                embed.WithFooter($"Powered by nekos.life");

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

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

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

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

                await Context.Channel.SendMessageAsync("", embed : embed.Build());
            }
        }
Exemplo n.º 20
0
        public async Task LewdIMG()
        {
            string[]           tags   = new[] { "" };
            Helpers.WebRequest webReq = new Helpers.WebRequest();
            RandomData         result = await webReq.GetTypesAsync("megumin", 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("Explosion!");
            embed.WithDescription(
                $"{Context.User.Mention} here's some megumin pics at your disposal :3");
            embed.WithImageUrl(url);
            embed.WithFooter($"Powered by weeb.sh | ID: {id}");

            await Context.Channel.SendMessageAsync("", embed : embed.Build());
        }
Exemplo n.º 21
0
        public async Task GetRandomNeko(IGuildUser user = null)
        {
            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/poke");
                }

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

                string nekolink = dataObject.url.ToString();

                if (user == null)
                {
                    var embed = new EmbedBuilder();
                    embed.WithColor(37, 152, 255);
                    embed.WithTitle("Poke!");
                    embed.WithDescription(
                        $"{Context.User.Mention} poked themselves... I guess you can poke yourself if you're lonely... \n **(Include a user with your command! Example: w!poke <person you want to poke>)**");
                    embed.WithImageUrl(nekolink);
                    embed.WithFooter($"Powered by nekos.life");

                    await Context.Channel.SendMessageAsync("", embed : embed.Build());
                }
                else
                {
                    var embed = new EmbedBuilder();
                    embed.WithColor(37, 152, 255);
                    embed.WithImageUrl(nekolink);
                    embed.WithTitle("Poke!");
                    embed.WithDescription($":point_right:  |  {Context.User.Username} poked {user.Mention}!");
                    embed.WithFooter($"Powered by nekos.life");

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

            if (rand == 2)
            {
                string[] tags = new[] { "" };
                weebDotSh.Helpers.WebRequest webReq = new weebDotSh.Helpers.WebRequest();
                RandomData result = await webReq.GetTypesAsync("poke", tags, FileType.Gif, NsfwSearch.False, false);

                string url = result.Url;
                string id  = result.Id;
                if (user == null)
                {
                    var embed = new EmbedBuilder();
                    embed.WithColor(37, 152, 255);
                    embed.WithTitle("Poke!");
                    embed.WithDescription(
                        $"{Context.User.Mention} poked themselves, yes, I know the human body is  *i n t e r e s t i n g*  :3. \n **(Include a user with your command! Example: w!poke <person you want to poke>)**");
                    embed.WithImageUrl(url);
                    embed.WithFooter($"Powered by weeb.sh | ID: {id}");

                    await Context.Channel.SendMessageAsync("", embed : embed.Build());
                }
                else
                {
                    var embed = new EmbedBuilder();
                    embed.WithColor(37, 152, 255);
                    embed.WithImageUrl(url);
                    embed.WithTitle("Poke!");
                    embed.WithDescription($"{Context.User.Username} poked {user.Mention}!");
                    embed.WithFooter($"Powered by weeb.sh | ID: {id}");

                    await Context.Channel.SendMessageAsync("", embed : embed.Build());
                }
            }
        }
Exemplo n.º 22
0
        public async Task GetRandomNekoHug(IGuildUser user = null)
        {
            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/hug");
                }

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

                string nekolink = dataObject.url.ToString();

                if (user == null)
                {
                    var embed = new EmbedBuilder();
                    embed.WithColor(37, 152, 255);
                    embed.WithTitle("Hug!");
                    embed.WithDescription(
                        $"{Context.User.Mention} hugged themselves... Aw, don't be sad, you can hug me! \n **(Include a user with your command! Example: w!hug <person you want to hug>)**");
                    embed.WithImageUrl(nekolink);
                    embed.WithFooter($"Powered by nekos.life");

                    await Context.Channel.SendMessageAsync("", embed : embed.Build());
                }
                else
                {
                    var embed = new EmbedBuilder();
                    embed.WithColor(37, 152, 255);
                    embed.WithImageUrl(nekolink);
                    embed.WithTitle("Hug!");
                    embed.WithDescription($":heart:  |  {Context.User.Username} hugged {user.Mention}!");
                    embed.WithFooter($"Powered by nekos.life");

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

            if (rand == 2)
            {
                string[] tags = new[] { "" };
                weebDotSh.Helpers.WebRequest webReq = new weebDotSh.Helpers.WebRequest();
                RandomData result = await webReq.GetTypesAsync("hug", tags, FileType.Gif, NsfwSearch.False, false);

                string url = result.Url;
                string id  = result.Id;
                if (user == null)
                {
                    var embed = new EmbedBuilder();
                    embed.WithColor(37, 152, 255);
                    embed.WithTitle("Hug!");
                    embed.WithDescription(
                        $"{Context.User.Mention} hugged themselves, how is that even physically possible? \n **(Include a user with your command! Example: w!hug <person you want to hug>)**");
                    embed.WithImageUrl(url);
                    embed.WithFooter($"Powered by weeb.sh | ID: {id}");

                    await Context.Channel.SendMessageAsync("", embed : embed.Build());
                }
                else
                {
                    var embed = new EmbedBuilder();
                    embed.WithColor(37, 152, 255);
                    embed.WithImageUrl(url);
                    embed.WithTitle("Hug!");
                    embed.WithDescription($"{Context.User.Username} hugged {user.Mention}!");
                    embed.WithFooter($"Powered by weeb.sh | ID: {id}");

                    await Context.Channel.SendMessageAsync("", embed : embed.Build());
                }
            }
        }
Exemplo n.º 23
0
        public async Task GetRandomNeko(IGuildUser user = null)
        {
            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/kiss");
                }

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

                string nekolink = dataObject.url.ToString();

                if (user == null)
                {
                    var embed = new EmbedBuilder();
                    embed.WithColor(37, 152, 255);
                    embed.WithTitle("Kiss!");
                    embed.WithDescription(
                        $"{Context.User.Mention} you can't really kiss yourself... Don't worry how about a kiss from me?... \n **(Include a user with your command! Example: w!kiss <person you want to kiss>)**");
                    embed.WithImageUrl(nekolink);
                    embed.WithFooter($"Powered by nekos.life");

                    await Context.Channel.SendMessageAsync("", embed : embed.Build());
                }
                else
                {
                    var embed = new EmbedBuilder();
                    embed.WithColor(37, 152, 255);
                    embed.WithImageUrl(nekolink);
                    embed.WithTitle("Kiss!");
                    embed.WithDescription($":heart:  |  {Context.User.Username} kissed {user.Mention}!");
                    embed.WithFooter($"Powered by nekos.life");

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

            if (rand == 2)
            {
                string[] tags = new[] { "" };
                weebDotSh.Helpers.WebRequest webReq = new weebDotSh.Helpers.WebRequest();
                RandomData result = await webReq.GetTypesAsync("kiss", tags, FileType.Gif, NsfwSearch.False, false);

                string url = result.Url;
                string id  = result.Id;
                if (user == null)
                {
                    var embed = new EmbedBuilder();
                    embed.WithColor(37, 152, 255);
                    embed.WithTitle("Kiss!");
                    embed.WithDescription(
                        $"{Context.User.Mention} kissed themselves, welcome to quantum mechanics class everybody. \n **(Include a user with your command! Example: w!kiss <kiss you want to hug>)**");
                    embed.WithImageUrl(url);
                    embed.WithFooter($"Powered by weeb.sh | ID: {id}");

                    await Context.Channel.SendMessageAsync("", embed : embed.Build());
                }
                else
                {
                    var embed = new EmbedBuilder();
                    embed.WithColor(37, 152, 255);
                    embed.WithImageUrl(url);
                    embed.WithTitle("Kiss!");
                    embed.WithDescription($"{Context.User.Username} kissed {user.Mention}!");
                    embed.WithFooter($"Powered by weeb.sh | ID: {id}");

                    await Context.Channel.SendMessageAsync("", embed : embed.Build());
                }
            }
        }
Exemplo n.º 24
0
        public async Task GetRandomNekoHug(IGuildUser user = null)
        {
            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/feed");
                }

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

                string nekolink = dataObject.url.ToString();

                if (user == null)
                {
                    var embed = new EmbedBuilder();
                    embed.WithColor(37, 152, 255);
                    embed.WithTitle("Munch!");
                    embed.WithDescription(
                        $"{Context.User.Mention} fed themselves... Let's hope they don't get fat... \n **(Include a user with your command! Example: w!feed <person you want to feed>)**");
                    embed.WithImageUrl(nekolink);
                    embed.WithFooter($"Powered by nekos.life");

                    await Context.Channel.SendMessageAsync("", embed : embed.Build());
                }
                else
                {
                    var embed = new EmbedBuilder();
                    embed.WithColor(37, 152, 255);
                    embed.WithImageUrl(nekolink);
                    embed.WithTitle("Munch!");
                    embed.WithDescription($"{Context.User.Username} fed {user.Mention}!");
                    embed.WithFooter($"Powered by nekos.life");

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

            if (rand == 2)
            {
                string[] tags = new[] { "" };
                weebDotSh.Helpers.WebRequest webReq = new weebDotSh.Helpers.WebRequest();
                RandomData result = await webReq.GetTypesAsync("feed", tags, FileType.Gif, NsfwSearch.False, false);

                string url = result.Url;
                string id  = result.Id;
                if (user == null)
                {
                    var embed = new EmbedBuilder();
                    embed.WithColor(37, 152, 255);
                    embed.WithTitle("Yum!");
                    embed.WithDescription(
                        $"{Context.User.Mention} fed themselves, I think that's a bit too normal. \n **(Include a user with your command! Example: w!feed <person you want to feed>)**");
                    embed.WithImageUrl(url);
                    embed.WithFooter($"Powered by weeb.sh | ID: {id}");

                    await Context.Channel.SendMessageAsync("", embed : embed.Build());
                }
                else
                {
                    var embed = new EmbedBuilder();
                    embed.WithColor(37, 152, 255);
                    embed.WithImageUrl(url);
                    embed.WithTitle("Yum!");
                    embed.WithDescription($"{Context.User.Username} fed {user.Mention}!");
                    embed.WithFooter($"Powered by weeb.sh | ID: {id}");

                    await Context.Channel.SendMessageAsync("", embed : embed.Build());
                }
            }
        }
Exemplo n.º 25
0
        public async Task GetRandomNekoCuddle(IGuildUser user = null)
        {
            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/cuddle");
                }

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

                string nekolink = dataObject.url.ToString();

                if (user == null)
                {
                    var embed = new EmbedBuilder();
                    embed.WithColor(37, 152, 255);
                    embed.WithTitle("Cuddle!");
                    embed.WithDescription(
                        $"{Context.User.Mention} cuddled with themselves... Maybe you can cuddle with a friend? \n **(Include a user with your command! Example: w!cuddle <person you want to cuddle with>)**");
                    embed.WithImageUrl(nekolink);
                    embed.WithFooter($"Powered by nekos.life");

                    await Context.Channel.SendMessageAsync("", embed : embed.Build());
                }
                else
                {
                    var embed = new EmbedBuilder();
                    embed.WithColor(37, 152, 255);
                    embed.WithImageUrl(nekolink);
                    embed.WithTitle("Cuddle!");
                    embed.WithDescription($"{Context.User.Username} cuddled with {user.Mention}!");
                    embed.WithFooter($"Powered by nekos.life");

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

            if (rand == 2)
            {
                string[] tags = new[] { "" };
                weebDotSh.Helpers.WebRequest webReq = new weebDotSh.Helpers.WebRequest();
                RandomData result = await webReq.GetTypesAsync("cuddle", tags, FileType.Gif, NsfwSearch.False, false);

                string url = result.Url;
                string id  = result.Id;
                if (user == null)
                {
                    var embed = new EmbedBuilder();
                    embed.WithColor(37, 152, 255);
                    embed.WithTitle("Cuddle!");
                    embed.WithDescription(
                        $"{Context.User.Mention} cuddled themselves, that's some intense self-love right there.. \n **(Include a user with your command! Example: w!cuddle <person you want to cuddle>)**");
                    embed.WithImageUrl(url);
                    embed.WithFooter($"Powered by weeb.sh | ID: {id}");

                    await Context.Channel.SendMessageAsync("", embed : embed.Build());
                }
                else
                {
                    var embed = new EmbedBuilder();
                    embed.WithColor(37, 152, 255);
                    embed.WithImageUrl(url);
                    embed.WithTitle("Cuddle!");
                    embed.WithDescription($"{Context.User.Username} cuddled {user.Mention}!");
                    embed.WithFooter($"Powered by weeb.sh | ID: {id}");

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