Skip to content

Commit

Permalink
Add 'html' to EmbedType enum
Browse files Browse the repository at this point in the history
This resolves discord-net#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 authored and FiniteReality committed May 5, 2018
1 parent f89cf73 commit 17c91d0
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 17c91d0

Please sign in to comment.