From e31cdc7586639082bd9c229710e2b6c3f5172a27 Mon Sep 17 00:00:00 2001 From: Still Hsu Date: Mon, 14 Dec 2020 12:07:24 +0800 Subject: [PATCH] docs: Fix MaxWaitBetweenGuildAvailablesBeforeReady docs string Signed-off-by: Still Hsu --- src/Discord.Net.WebSocket/DiscordSocketConfig.cs | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/Discord.Net.WebSocket/DiscordSocketConfig.cs b/src/Discord.Net.WebSocket/DiscordSocketConfig.cs index 8392105f0..e4e7f59dc 100644 --- a/src/Discord.Net.WebSocket/DiscordSocketConfig.cs +++ b/src/Discord.Net.WebSocket/DiscordSocketConfig.cs @@ -102,7 +102,7 @@ namespace Discord.WebSocket /// public bool AlwaysDownloadUsers { get; set; } = false; /// - /// Gets or sets the timeout for event handlers, in milliseconds, after which a warning will be logged. + /// Gets or sets the timeout for event handlers, in milliseconds, after which a warning will be logged. /// nulldisables this check. /// public int? HandlerTimeout { get; set; } = 3000; @@ -138,16 +138,17 @@ namespace Discord.WebSocket /// public int IdentifyMaxConcurrency { get; set; } = 1; + /// /// Gets or sets the maximum wait time in milliseconds between GUILD_AVAILABLE events before firing READY. - /// /// If zero, READY will fire as soon as it is received and all guilds will be unavailable. /// /// - /// This property is measured in milliseconds, negative values will throw an exception. + /// This property is measured in milliseconds; negative values will throw an exception. /// If a guild is not received before READY, it will be unavailable. /// /// - /// The maximum wait time in milliseconds between GUILD_AVAILABLE events before firing READY. + /// A representing the maximum wait time in milliseconds between GUILD_AVAILABLE events + /// before firing READY. /// /// Value must be at least 0. public int MaxWaitBetweenGuildAvailablesBeforeReady { @@ -162,7 +163,7 @@ namespace Discord.WebSocket } } private int _maxWaitForGuildAvailable = 10000; - + /// /// Gets or sets gateway intents to limit what events are sent from Discord. Allows for more granular control than the property. ///