public static EmbedFooterJsonModel ToModel(this LocalEmbedFooter footer)
 => footer == null ? null : new EmbedFooterJsonModel
 {
     Text    = footer.Text,
     IconUrl = footer.IconUrl
 };
Exemplo n.º 2
0
 public JsonEmbedFooter(LocalEmbedFooter footer)
 {
     Text    = footer.Text;
     IconUrl = footer.IconUrl;
 }