This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
Register
Sign In
youys
/
Discord.Net
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
34
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
docs: update CategoryId remarks for detaching a channel
setting a categoryid to 0 will result in a bad request, null will actually detach
pull/1282/head
Chris Johnston
6 years ago
parent
b919a1e52c
commit
102aa0c05d
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/Discord.Net.Core/Entities/Channels/NestedChannelProperties.cs
+ 1
- 1
src/Discord.Net.Core/Entities/Channels/NestedChannelProperties.cs
View File
@@ -10,7 +10,7 @@ namespace Discord
/// </summary>
/// <remarks>
/// 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 <c>
0
</c> will detach this channel from its parent if one
/// specified channel; setting this value to <c>
null
</c> will detach this channel from its parent if one
/// is set.
/// </remarks>
public Optional<ulong?> CategoryId { get; set; }
Write
Preview
Loading…
Cancel
Save