* Added ability to specify position when creating a channel * Adjusted categories to include guildproperties and allow specifying position when creating channel categories * fixed unimplemented methods (for CreateCategoryChannelAsync) and added appropriate documentation
This commit is contained in:
committed by
Christopher F
parent
10233f3a9a
commit
a64ab6025b
@@ -12,6 +12,8 @@ namespace Discord.API.Rest
|
||||
public ChannelType Type { get; }
|
||||
[JsonProperty("parent_id")]
|
||||
public Optional<ulong?> CategoryId { get; set; }
|
||||
[JsonProperty("position")]
|
||||
public Optional<int> Position { get; set; }
|
||||
|
||||
//Text channels
|
||||
[JsonProperty("topic")]
|
||||
|
||||
Reference in New Issue
Block a user