From 102aa0c05d596d28fe587a924ebec4b041cc273f Mon Sep 17 00:00:00 2001 From: Chris Johnston Date: Sat, 22 Jun 2019 11:13:31 -0700 Subject: [PATCH] docs: update CategoryId remarks for detaching a channel setting a categoryid to 0 will result in a bad request, null will actually detach --- .../Entities/Channels/NestedChannelProperties.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Discord.Net.Core/Entities/Channels/NestedChannelProperties.cs b/src/Discord.Net.Core/Entities/Channels/NestedChannelProperties.cs index 75b72d0d5..345b29e41 100644 --- a/src/Discord.Net.Core/Entities/Channels/NestedChannelProperties.cs +++ b/src/Discord.Net.Core/Entities/Channels/NestedChannelProperties.cs @@ -10,7 +10,7 @@ namespace Discord /// /// /// Setting this value to a category's snowflake identifier will change or set this channel's parent to the - /// specified channel; setting this value to 0 will detach this channel from its parent if one + /// specified channel; setting this value to null will detach this channel from its parent if one /// is set. /// public Optional CategoryId { get; set; }