fix: include MessageFlags and SuppressEmbedParams
This commit is contained in:
10
src/Discord.Net.Rest/API/Common/MessageFlags.cs
Normal file
10
src/Discord.Net.Rest/API/Common/MessageFlags.cs
Normal 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,
|
||||
}
|
||||
}
|
||||
11
src/Discord.Net.Rest/API/Rest/SuppressEmbedParams.cs
Normal file
11
src/Discord.Net.Rest/API/Rest/SuppressEmbedParams.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user