|
|
@@ -8,7 +8,7 @@ namespace Discord |
|
|
|
[DebuggerDisplay(@"{DebuggerDisplay,nq}")] |
|
|
|
public class Embed : IEmbed |
|
|
|
{ |
|
|
|
public string Type { get; } |
|
|
|
public EmbedType Type { get; } |
|
|
|
|
|
|
|
public string Description { get; internal set; } |
|
|
|
public Uri Url { get; internal set; } |
|
|
@@ -23,12 +23,12 @@ namespace Discord |
|
|
|
public EmbedThumbnail? Thumbnail { get; internal set; } |
|
|
|
public ImmutableArray<EmbedField> Fields { get; internal set; } |
|
|
|
|
|
|
|
internal Embed(string type) |
|
|
|
internal Embed(EmbedType type) |
|
|
|
{ |
|
|
|
Type = type; |
|
|
|
Fields = ImmutableArray.Create<EmbedField>(); |
|
|
|
} |
|
|
|
internal Embed(string type, |
|
|
|
internal Embed(EmbedType type, |
|
|
|
string title, |
|
|
|
string description, |
|
|
|
Uri url, |
|
|
|