Beispiel #1
0
 public Embed(string title, string url, DateTimeOffset?timestamp, Color color, EmbedAuthor author, string description,
              IReadOnlyList <EmbedField> fields, EmbedImage thumbnail, EmbedImage image, EmbedFooter footer)
 {
     Title       = title;
     Url         = url;
     Timestamp   = timestamp;
     Color       = color;
     Author      = author;
     Description = description;
     Fields      = fields;
     Thumbnail   = thumbnail;
     Image       = image;
     Footer      = footer;
 }
Beispiel #2
0
 public Embed(string title, string type, string description,
              string url, DateTime?timeStamp, Color?color,
              EmbedFooter footer, EmbedImage image, EmbedImage thumbnail,
              EmbedVideo video, EmbedProvider provider, EmbedAuthor author,
              List <EmbedField> fields, List <User> mentionedUsers,
              List <Role> mentionedRoles, List <Channel> mentionedChannels)
 {
     Title             = title;
     Type              = type;
     Description       = description;
     Url               = url;
     TimeStamp         = timeStamp;
     Color             = color;
     Footer            = footer;
     Image             = image;
     Thumbnail         = thumbnail;
     Video             = video;
     Provider          = provider;
     Author            = author;
     Fields            = fields;
     MentionedUsers    = mentionedUsers;
     MentionedRoles    = mentionedRoles;
     MentionedChannels = mentionedChannels;
 }