Archived
1
0
Fork 0
This repository has been archived on 2024-05-21. You can view files and clone it, but cannot push or open issues or pull requests.
maki/Maki/Structures/Users/PermissionOverwrite.cs

34 lines
741 B
C#

using Newtonsoft.Json;
namespace Maki.Structures.Users
{
/// <summary>
/// Discord API Permission Overwrite structure
/// </summary>
internal struct PermissionOverwrite
{
/// <summary>
/// role or user id
/// </summary>
[JsonProperty("id")]
public ulong Id;
/// <summary>
/// either 'role' or 'member'
/// </summary>
[JsonProperty("type")]
public string Type;
/// <summary>
/// permission bit set
/// </summary>
[JsonProperty("allow")]
public int Allow;
/// <summary>
/// permission bit set
/// </summary>
[JsonProperty("deny")]
public int Deny;
}
}