Example #1
0
 /// <summary>
 /// Adds footer to this embed.
 /// </summary>
 /// <param name="text">Footer text</param>
 /// <param name="iconUrl">Icon of the footer</param>
 /// <returns>This</returns>
 public Embed SetFooter(string text, Uri iconUrl = null) => SetFooter(EmbedFooter.Generate(text, iconUrl));
Example #2
0
 /// <summary>
 /// Adds footer to this embed.
 /// </summary>
 /// <param name="footer">Footer to add</param>
 /// <returns>This</returns>
 public Embed SetFooter(EmbedFooter footer)
 {
     Footer = footer;
     return(this);
 }