public Embed Build() { _model.Author = Author?.ToModel(); _model.Footer = Footer?.ToModel(); _model.Timestamp = Timestamp?.ToUniversalTime(); _model.Thumbnail = Thumbnail?.ToModel(); _model.Image = Image?.ToModel(); _model.Fields = _fields.ToArray(); return(_model); }
internal static EmbedAuthor Create(Model model) { return(new EmbedAuthor(model.Name, model.Url, model.IconUrl, model.ProxyIconUrl)); }
public EmbedAuthorBuilder() { _model = new Author(); }
internal EmbedAuthor(Model model) : this(model.Name, model.Url, model.IconUrl, model.ProxyIconUrl) { }