public async Task Limrick([Remainder] string input) { List <string> words = input.Split(' ').ToList(); var limrick = InterjectUtilities.BuildLimrick(words); await ReplyAsync(limrick); }
public async Task AlternateHaiku([Remainder] string input) { List <WordInfo> haikuWords = InterjectUtilities.FormatHaikuInput(input); //maybe for listen, refactor this into FormatHaikuInput string haiku = ""; //here lets choose linebreaks foreach (WordInfo word in haikuWords) { haiku += word.word + " " + word.newline; } await ReplyAsync(haiku); }