public bool AlwaysDownloadUsers { get; set; } = false;
public bool AlwaysDownloadUsers { get; set; } = false;
/// <summary>
/// <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.
/// <c>null</c>disables this check.
/// </summary>
/// </summary>
public int? HandlerTimeout { get; set; } = 3000;
public int? HandlerTimeout { get; set; } = 3000;
@@ -138,16 +138,17 @@ namespace Discord.WebSocket
/// </remarks>
/// </remarks>
public int IdentifyMaxConcurrency { get; set; } = 1;
public int IdentifyMaxConcurrency { get; set; } = 1;
/// <summary>
/// Gets or sets the maximum wait time in milliseconds between GUILD_AVAILABLE events before firing READY.
/// 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.
/// If zero, READY will fire as soon as it is received and all guilds will be unavailable.
/// </summary>
/// </summary>
/// <remarks>
/// <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>
/// <para>If a guild is not received before READY, it will be unavailable.</para>
/// </remarks>
/// </remarks>
/// <returns>
/// <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>
/// </returns>
/// <exception cref="System.ArgumentException">Value must be at least 0.</exception>
/// <exception cref="System.ArgumentException">Value must be at least 0.</exception>
public int MaxWaitBetweenGuildAvailablesBeforeReady {
public int MaxWaitBetweenGuildAvailablesBeforeReady {
@@ -162,7 +163,7 @@ namespace Discord.WebSocket
}
}
}
}
private int _maxWaitForGuildAvailable = 10000;
private int _maxWaitForGuildAvailable = 10000;
/// <summary>
/// <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.
/// Gets or sets gateway intents to limit what events are sent from Discord. Allows for more granular control than the <see cref="GuildSubscriptions"/> property.
Thank you for your continuous support to the Openl Qizhi Community AI Collaboration Platform. In order to protect your usage rights and ensure network security, we updated the Openl Qizhi Community AI Collaboration Platform Usage Agreement in January 2024. The updated agreement specifies that users are prohibited from using intranet penetration tools. After you click "Agree and continue", you can continue to use our services. Thank you for your cooperation and understanding.