diff --git a/src/Discord.Net.Rest/Entities/Gateway/GatewayLimit.cs b/src/Discord.Net.Rest/Entities/Gateway/GatewayLimit.cs index a687be514..036133d3f 100644 --- a/src/Discord.Net.Rest/Entities/Gateway/GatewayLimit.cs +++ b/src/Discord.Net.Rest/Entities/Gateway/GatewayLimit.cs @@ -6,11 +6,11 @@ namespace Discord.Rest public struct GatewayLimit { /// - /// The maximum amount of this type of request in a time window, that is set by . + /// Gets or sets the maximum amount of this type of request in a time window, that is set by . /// public int Count { get; set; } /// - /// The amount of seconds until the rate limiter resets the remaining requests . + /// Gets or sets the amount of seconds until the rate limiter resets the remaining requests . /// public int Seconds { get; set; } diff --git a/src/Discord.Net.Rest/Entities/Gateway/GatewayLimits.cs b/src/Discord.Net.Rest/Entities/Gateway/GatewayLimits.cs index 481831e1c..7c0ea68f5 100644 --- a/src/Discord.Net.Rest/Entities/Gateway/GatewayLimits.cs +++ b/src/Discord.Net.Rest/Entities/Gateway/GatewayLimits.cs @@ -9,7 +9,7 @@ namespace Discord.Rest /// Gets or sets the global limits for the gateway rate limiter. /// /// - /// It includes all the other limits, like Identify. + /// This property includes all the other limits, like Identify. /// public GatewayLimit Global { get; set; } /// @@ -17,6 +17,9 @@ namespace Discord.Rest /// public GatewayLimit Identify { get; set; } + /// + /// Initializes a new with the default values. + /// public GatewayLimits() { Global = new GatewayLimit(120, 60); diff --git a/src/Discord.Net.WebSocket/DiscordSocketConfig.cs b/src/Discord.Net.WebSocket/DiscordSocketConfig.cs index 69935231f..bfc6e5c41 100644 --- a/src/Discord.Net.WebSocket/DiscordSocketConfig.cs +++ b/src/Discord.Net.WebSocket/DiscordSocketConfig.cs @@ -128,7 +128,7 @@ namespace Discord.WebSocket /// /// Gets or sets the gateway limits. /// - /// It should only be changed for bots that have special limits provided by Discord. + /// This property should only be changed for bots that have special limits provided by Discord. /// /// public GatewayLimits GatewayLimits { get; set; } = new GatewayLimits();