Exemple #1
0
        public async Task AnyUser([Remainder] string type)
        {
            try
            {
                string[]           tags   = { "" };
                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(Global.NayuColor);
                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 SendMessage(Context, embed.Build());
            }
            catch
            {
                await SendMessage(Context, null,
                                  "Did you enter a valid type? \nView all types with the `n!ceebtypes` command" +
                                  "\nOtherwise did you use the command correctly?\nUsage: n!anyweeb <type> Ex: n!anyweeb lick");
            }
        }
Exemple #2
0
        public async Task KemonomimiIMG()
        {
            int rand = Global.Rng.Next(1, 3);

            if (rand == 1)
            {
                string nekoLink    = NekosLifeHelper.GetNekoLink("kemonomimi");
                string description = "Randomly generated kemonomimi just for you <3!";

                var embed = ImageEmbed.GetImageEmbed(nekoLink, Source.NekosLife, description);
                await SendMessage(Context, embed);
            }

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

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

                embed.WithColor(Global.NayuColor);
                embed.WithTitle("Kemonomimi!");
                embed.WithDescription(
                    $"{Context.User.Mention} here's some kemonomimi pics at your disposal :3");
                embed.WithImageUrl(url);
                embed.WithFooter($"Powered by weeb.sh | ID: {id}");

                await SendMessage(Context, embed.Build());
            }
        }
Exemple #3
0
        public async Task LewdIMG()
        {
            string[]           tags   = { "" };
            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(Global.NayuColor);
            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 SendMessage(Context, embed.Build());
        }
Exemple #4
0
        public async Task owoIMG()
        {
            string[]           tags   = { "" };
            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(Global.NayuColor);
            embed.WithTitle("owo");
            embed.WithDescription(
                $"owo");
            embed.WithImageUrl(url);
            embed.WithFooter($"Powered by weeb.sh | ID: {id} | owo");

            await SendMessage(Context, embed.Build());
        }