Browse Source

Add 'html' to EmbedType enum

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.
tags/2.0.0-beta
Christopher F 7 years ago
parent
commit
42c879c37c
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      src/Discord.Net.Core/Entities/Messages/EmbedType.cs

+ 4
- 2
src/Discord.Net.Core/Entities/Messages/EmbedType.cs View File

@@ -1,13 +1,15 @@
namespace Discord
namespace Discord
{
public enum EmbedType
{
Unknown = -1,
Rich,
Link,
Video,
Image,
Gifv,
Article,
Tweet
Tweet,
Html,
}
}

Loading…
Cancel
Save