From 847b6bf99e0aa930a196662e30cffd9f0b717dd6 Mon Sep 17 00:00:00 2001
From: Still Hsu <341464@gmail.com>
Date: Sat, 13 Oct 2018 04:21:55 +0800
Subject: [PATCH] Add additional remarks for Guild/TextChannelProperties
---
.../Entities/Channels/GuildChannelProperties.cs | 5 +++++
.../Entities/Channels/TextChannelProperties.cs | 9 +++++++++
2 files changed, 14 insertions(+)
diff --git a/src/Discord.Net.Core/Entities/Channels/GuildChannelProperties.cs b/src/Discord.Net.Core/Entities/Channels/GuildChannelProperties.cs
index 4e92a2369..1a89fabaf 100644
--- a/src/Discord.Net.Core/Entities/Channels/GuildChannelProperties.cs
+++ b/src/Discord.Net.Core/Entities/Channels/GuildChannelProperties.cs
@@ -24,6 +24,11 @@ namespace Discord
///
/// Gets or sets the category ID for this channel.
///
+ ///
+ /// 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 remove detach this channel from its parent if one
+ /// is set.
+ ///
public Optional CategoryId { get; set; }
}
}
diff --git a/src/Discord.Net.Core/Entities/Channels/TextChannelProperties.cs b/src/Discord.Net.Core/Entities/Channels/TextChannelProperties.cs
index fbc59dba6..c9d0ba1d6 100644
--- a/src/Discord.Net.Core/Entities/Channels/TextChannelProperties.cs
+++ b/src/Discord.Net.Core/Entities/Channels/TextChannelProperties.cs
@@ -11,10 +11,19 @@ namespace Discord
///
/// Gets or sets the topic of the channel.
///
+ ///
+ /// Setting this value to any string other than null or will set the
+ /// channel topic or description to the desired value.
+ ///
public Optional Topic { get; set; }
///
/// Gets or sets whether this channel should be flagged as NSFW.
///
+ ///
+ /// Setting this value to true will mark the channel as NSFW (Not Safe For Work) and will prompt the
+ /// user about its maturity nature before they may view the channel; setting this value to false will
+ /// mark this channel as SFW (Safe For Work).
+ ///
public Optional IsNsfw { get; set; }
///
/// Gets or sets the slow-mode ratelimit in seconds for this channel.