Exemple #1
0
 /// <summary>
 /// Sets author to this embed.
 /// </summary>
 /// <param name="name">Name of the author</param>
 /// <param name="iconUrl">URL of the image</param>
 /// <param name="url">URL of the author's name</param>
 /// <returns>This</returns>
 public Embed SetAuthor(string name, Uri iconUrl = null, Uri url = null) => SetAuthor(EmbedAuthor.Generate(name, iconUrl, url));
Exemple #2
0
 /// <summary>
 /// Sets author to this embed.
 /// </summary>
 /// <param name="author">Author to be set to</param>
 /// <returns>This</returns>
 public Embed SetAuthor(EmbedAuthor author)
 {
     Author = author;
     return(this);
 }