Exemplo n.º 1
0
        public async Task GenerateKomiPaperMeme([Remainder] string pills)
        {
            using (Context.Channel.EnterTypingState())
            {
                try
                {
                    var filename = await _template.GenerateImage(Context, pills);

                    await Context.Channel.SendFileAsync(filename);

                    File.Delete(filename);
                }
                catch (ArgumentException e)
                {
                    await ReplyAsync(e.Message);
                }
            }
        }
Exemplo n.º 2
0
        public async Task GenerateTrolleyProblemMeme(string top, string bottom)
        {
            using (Context.Channel.EnterTypingState())
            {
                try
                {
                    var filename = await _template.GenerateImage(Context, top, bottom);

                    await Context.Channel.SendFileAsync(filename);

                    File.Delete(filename);
                }
                catch (ArgumentException e)
                {
                    await ReplyAsync(e.Message);
                }
            }
        }
Exemplo n.º 3
0
        public async Task GenerateDisappointmentMeme([Remainder] string babyResponse)
        {
            using (Context.Channel.EnterTypingState())
            {
                try
                {
                    var filename = await _template.GenerateImage(Context, babyResponse);

                    await Context.Channel.SendFileAsync(filename);

                    File.Delete(filename);
                }
                catch (ArgumentException e)
                {
                    await ReplyAsync(e.Message);
                }
            }
        }
Exemplo n.º 4
0
        public async Task GenerateComaMeme(string time, string patientResponse)
        {
            using (Context.Channel.EnterTypingState())
            {
                try
                {
                    var filename = await _template.GenerateImage(Context, time, patientResponse);

                    await Context.Channel.SendFileAsync(filename);

                    File.Delete(filename);
                }
                catch (ArgumentException e)
                {
                    await ReplyAsync(e.Message);
                }
            }
        }
Exemplo n.º 5
0
        public async Task GeneratePigeonMeme(string guy, string butterfly, string bottomText)
        {
            using (Context.Channel.EnterTypingState())
            {
                try
                {
                    var filename = await _template.GenerateImage(Context, guy, butterfly, bottomText);

                    await Context.Channel.SendFileAsync(filename);

                    File.Delete(filename);
                }
                catch (ArgumentException e)
                {
                    await ReplyAsync(e.Message);
                }
            }
        }
Exemplo n.º 6
0
        public async Task GenerateGruPlanMeme(string step1, string step2, string step3)
        {
            using (Context.Channel.EnterTypingState())
            {
                try
                {
                    var filename = await _template.GenerateImage(Context, step1, step2, step3, step3);

                    await Context.Channel.SendFileAsync(filename);

                    File.Delete(filename);
                }
                catch (ArgumentException e)
                {
                    await ReplyAsync(e.Message);
                }
            }
        }
Exemplo n.º 7
0
        public async Task GenerateDistractedBfMeme(string guy, string girlfriend, string otherGirl)
        {
            using (Context.Channel.EnterTypingState())
            {
                try
                {
                    var filename = await _template.GenerateImage(Context, guy, girlfriend, otherGirl);

                    await Context.Channel.SendFileAsync(filename);

                    File.Delete(filename);
                }
                catch (ArgumentException e)
                {
                    await ReplyAsync(e.Message);
                }
            }
        }
Exemplo n.º 8
0
        public async Task GenerateDailyStruggleMeme(string leftButton, string rightButton)
        {
            using (Context.Channel.EnterTypingState())
            {
                try
                {
                    var filename = await _template.GenerateImage(Context, leftButton, rightButton);

                    await Context.Channel.SendFileAsync(filename);

                    File.Delete(filename);
                }
                catch (ArgumentException e)
                {
                    await ReplyAsync(e.Message);
                }
            }
        }
Exemplo n.º 9
0
        public async Task GenerateKaibasDefeatMeme(string kaibasCard, string yugisCard)
        {
            using (Context.Channel.EnterTypingState())
            {
                try
                {
                    var filename = await _template.GenerateImage(Context, kaibasCard, yugisCard);

                    await Context.Channel.SendFileAsync(filename);

                    File.Delete(filename);
                }
                catch (ArgumentException e)
                {
                    await ReplyAsync(e.Message);
                }
            }
        }