fix: include MessageFlags and SuppressEmbedParams

This commit is contained in:
Christopher Felegy
2019-06-21 17:27:00 -04:00
parent 363d1c6da6
commit d6d4429c3d
2 changed files with 21 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
using System;
namespace Discord.API
{
[Flags]
internal enum MessageFlags : byte // probably safe to constrain this to 8 values, if not, it's internal so who cares
{
Suppressed = 0x04,
}
}

View File

@@ -0,0 +1,11 @@
using Newtonsoft.Json;
namespace Discord.API.Rest
{
[JsonObject(MemberSerialization = MemberSerialization.OptIn)]
internal class SuppressEmbedParams
{
[JsonProperty("suppress")]
public bool Suppressed { get; set; }
}
}