23 lines
436 B
C#
23 lines
436 B
C#
|
using Newtonsoft.Json;
|
|||
|
|
|||
|
namespace Maki.Structures.Rest
|
|||
|
{
|
|||
|
internal struct RoleCreate
|
|||
|
{
|
|||
|
[JsonProperty("name")]
|
|||
|
public string Name;
|
|||
|
|
|||
|
[JsonProperty("permissions")]
|
|||
|
public DiscordPermission Perms;
|
|||
|
|
|||
|
[JsonProperty("color")]
|
|||
|
public uint Colour;
|
|||
|
|
|||
|
[JsonProperty("hoist")]
|
|||
|
public bool Hoist;
|
|||
|
|
|||
|
[JsonProperty("mentionable")]
|
|||
|
public bool Mentionable;
|
|||
|
}
|
|||
|
}
|