public string GetCow(string message, Modes mode = Modes.Default) { var builder = new StringBuilder(); builder.Append(GenerateMessageBubble(message)); builder.Append(GenerateCow(ModeSettings.FindMode(mode))); return(builder.ToString()); }
public string GetVersion() { var builder = new StringBuilder(); builder.AppendLine(GenerateMessageBubble($"nCowsay version {_version}")); builder.Append(GenerateCow(ModeSettings.FindMode(Modes.Default))); return(builder.ToString()); }