Skip to content

Commit

Permalink
Add 'html' to EmbedType enum
Browse files Browse the repository at this point in the history
This resolves #762.

This change adds an 'html' variant to the EmbedType enum.

This change also adds an 'Unknown' variant to the EmbedType enum (at
position -1); this will be used in a later commit to future-proof the
EmbedType enum from any further variants Discord may add.
  • Loading branch information
foxbot committed Jan 8, 2018
1 parent 0f2af47 commit 42c879c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Discord.Net.Core/Entities/Messages/EmbedType.cs
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
namespace Discord
namespace Discord
{
public enum EmbedType
{
Unknown = -1,
Rich,
Link,
Video,
Image,
Gifv,
Article,
Tweet
Tweet,
Html,
}
}

0 comments on commit 42c879c

Please sign in to comment.