This repository was archived by the owner on Feb 8, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
CSharpDiscordWebhook/Discord Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -61,42 +61,42 @@ public struct DiscordEmbed
6161 /// <summary>
6262 /// Embed timestamp
6363 /// </summary>
64- public DateTime Timestamp ;
64+ public DateTime ? Timestamp ;
6565
6666 /// <summary>
6767 /// Embed color
6868 /// </summary>
69- public Color Color ;
69+ public Color ? Color ;
7070
7171 /// <summary>
7272 /// Embed footer
7373 /// </summary>
74- public EmbedFooter Footer ;
74+ public EmbedFooter ? Footer ;
7575
7676 /// <summary>
7777 /// Embed image
7878 /// </summary>
79- public EmbedMedia Image ;
79+ public EmbedMedia ? Image ;
8080
8181 /// <summary>
8282 /// Embed thumbnail
8383 /// </summary>
84- public EmbedMedia Thumbnail ;
84+ public EmbedMedia ? Thumbnail ;
8585
8686 /// <summary>
8787 /// Embed video
8888 /// </summary>
89- public EmbedMedia Video ;
89+ public EmbedMedia ? Video ;
9090
9191 /// <summary>
9292 /// Embed provider
9393 /// </summary>
94- public EmbedProvider Provider ;
94+ public EmbedProvider ? Provider ;
9595
9696 /// <summary>
9797 /// Embed author
9898 /// </summary>
99- public EmbedAuthor Author ;
99+ public EmbedAuthor ? Author ;
100100
101101 /// <summary>
102102 /// Embed fields array
@@ -147,12 +147,12 @@ public struct EmbedMedia
147147 /// <summary>
148148 /// Media height
149149 /// </summary>
150- public int Height ;
150+ public int ? Height ;
151151
152152 /// <summary>
153153 /// Media width
154154 /// </summary>
155- public int Width ;
155+ public int ? Width ;
156156
157157 public override string ToString ( ) => Utils . StructToJson ( this ) . ToString ( Formatting . None ) ;
158158 }
You can’t perform that action at this time.
0 commit comments