docs: Fix MaxWaitBetweenGuildAvailablesBeforeReady docs string
Signed-off-by: Still Hsu <dev@stillu.cc>
This commit is contained in:
@@ -102,7 +102,7 @@ namespace Discord.WebSocket
|
||||
/// </remarks>
|
||||
public bool AlwaysDownloadUsers { get; set; } = false;
|
||||
/// <summary>
|
||||
/// 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.
|
||||
/// <c>null</c>disables this check.
|
||||
/// </summary>
|
||||
public int? HandlerTimeout { get; set; } = 3000;
|
||||
@@ -138,16 +138,17 @@ namespace Discord.WebSocket
|
||||
/// </remarks>
|
||||
public int IdentifyMaxConcurrency { get; set; } = 1;
|
||||
|
||||
/// <summary>
|
||||
/// 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.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>This property is measured in milliseconds, negative values will throw an exception.</para>
|
||||
/// <para>This property is measured in milliseconds; negative values will throw an exception.</para>
|
||||
/// <para>If a guild is not received before READY, it will be unavailable.</para>
|
||||
/// </remarks>
|
||||
/// <returns>
|
||||
/// The maximum wait time in milliseconds between GUILD_AVAILABLE events before firing READY.
|
||||
/// A <see cref="int"/> representing the maximum wait time in milliseconds between GUILD_AVAILABLE events
|
||||
/// before firing READY.
|
||||
/// </returns>
|
||||
/// <exception cref="System.ArgumentException">Value must be at least 0.</exception>
|
||||
public int MaxWaitBetweenGuildAvailablesBeforeReady {
|
||||
@@ -162,7 +163,7 @@ namespace Discord.WebSocket
|
||||
}
|
||||
}
|
||||
private int _maxWaitForGuildAvailable = 10000;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets gateway intents to limit what events are sent from Discord. Allows for more granular control than the <see cref="GuildSubscriptions"/> property.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user