Esempio n. 1
0
        public async Task Atfbooru([Remainder] string tag = "thighhighs")
        {
            var comm   = new CommandHandler();
            var result = await comm.Atfbooru(Context.User, Context.Guild, Context, tag);

            try
            {
                await comm.SaveYande(result.fileUrl, result.fileUrl.ToString().Split('/').Last(), Context as ICommandContext);

                // await Context.Channel.SendMessageAsync("Picture tags: " + String.Join(',', result.tags));
            }

            catch (Exception e)
            {
                Console.WriteLine(e);
                await Context.Channel.SendMessageAsync("SENPAIII!!! Something goes wrong while downloading another lewd pic!");
            }
        }