22 lines
435 B
C#
22 lines
435 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 int Colour;
|
|
|
|
[JsonProperty("hoist")]
|
|
public bool Hoist;
|
|
|
|
[JsonProperty("mentionable")]
|
|
public bool Mentionable;
|
|
}
|
|
}
|