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/Guilds/GuildRole.cs

30 lines
675 B
C#
Raw Normal View History

2017-05-14 12:02:51 +00:00
using Maki.Structures.Roles;
using Newtonsoft.Json;
namespace Maki.Structures.Guilds
{
/// <summary>
/// Discord API Guild Role structure
/// </summary>
internal struct GuildRole
{
/// <summary>
/// Populated in the _CREATE and _UPDATE event
/// </summary>
[JsonProperty("role")]
public Role? Role;
/// <summary>
/// Populated in the _DELETE event
/// </summary>
[JsonProperty("role_id")]
public ulong? RoleId;
/// <summary>
/// Guild Id this role belongs to
/// </summary>
[JsonProperty("guild_id")]
public ulong Guild;
}
}