diff --git a/src/Discord.Net.Core/Entities/Channels/TextChannelProperties.cs b/src/Discord.Net.Core/Entities/Channels/TextChannelProperties.cs index fbe4bfa43..fbc59dba6 100644 --- a/src/Discord.Net.Core/Entities/Channels/TextChannelProperties.cs +++ b/src/Discord.Net.Core/Entities/Channels/TextChannelProperties.cs @@ -1,3 +1,5 @@ +using System; + namespace Discord { /// @@ -18,9 +20,11 @@ namespace Discord /// Gets or sets the slow-mode ratelimit in seconds for this channel. /// /// - /// Setting this value to 0 will disable slow-mode for this channel. + /// Setting this value to anything above zero will require each user to wait X amount of second before + /// sending another message; setting this value to 0 will disable slow-mode for this channel. /// - /// Users with will be exempt from slow-mode. + /// Users with or + /// will be exempt from slow-mode. /// /// /// Thrown if the value does not fall within [0, 120]. diff --git a/src/Discord.Net.Rest/Entities/Channels/RestTextChannel.cs b/src/Discord.Net.Rest/Entities/Channels/RestTextChannel.cs index 58de066fb..e5078b6e0 100644 --- a/src/Discord.Net.Rest/Entities/Channels/RestTextChannel.cs +++ b/src/Discord.Net.Rest/Entities/Channels/RestTextChannel.cs @@ -16,6 +16,7 @@ namespace Discord.Rest { /// public string Topic { get; private set; } + /// public int SlowModeInterval { get; private set; } /// public ulong? CategoryId { get; private set; } diff --git a/src/Discord.Net.WebSocket/Entities/Channels/SocketTextChannel.cs b/src/Discord.Net.WebSocket/Entities/Channels/SocketTextChannel.cs index 728a4ad53..9ddea1578 100644 --- a/src/Discord.Net.WebSocket/Entities/Channels/SocketTextChannel.cs +++ b/src/Discord.Net.WebSocket/Entities/Channels/SocketTextChannel.cs @@ -20,6 +20,7 @@ namespace Discord.WebSocket /// public string Topic { get; private set; } + /// public int SlowModeInterval { get; private set; } /// public ulong? CategoryId { get; private set; }