Cleaned up and fixed several reorder issues.
This commit is contained in:
@@ -7,9 +7,9 @@ namespace Discord.API.Rest
|
||||
internal class ModifyGuildChannelsParams
|
||||
{
|
||||
[JsonProperty("id")]
|
||||
public ulong Id { get; set; }
|
||||
public ulong Id { get; }
|
||||
[JsonProperty("position")]
|
||||
public int Position { get; set; }
|
||||
public int Position { get; }
|
||||
|
||||
public ModifyGuildChannelsParams(ulong id, int position)
|
||||
{
|
||||
|
||||
@@ -10,8 +10,6 @@ namespace Discord.API.Rest
|
||||
public Optional<string> Name { get; set; }
|
||||
[JsonProperty("permissions")]
|
||||
public Optional<ulong> Permissions { get; set; }
|
||||
[JsonProperty("position")]
|
||||
public Optional<int> Position { get; set; }
|
||||
[JsonProperty("color")]
|
||||
public Optional<uint> Color { get; set; }
|
||||
[JsonProperty("hoist")]
|
||||
|
||||
@@ -8,10 +8,13 @@ namespace Discord.API.Rest
|
||||
{
|
||||
[JsonProperty("id")]
|
||||
public ulong Id { get; }
|
||||
[JsonProperty("position")]
|
||||
public int Position { get; }
|
||||
|
||||
public ModifyGuildRolesParams(ulong id)
|
||||
public ModifyGuildRolesParams(ulong id, int position)
|
||||
{
|
||||
Id = id;
|
||||
Position = position;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user