feature: warn on invalid gateway intents (#1948)
This commit is contained in:
@@ -183,6 +183,11 @@ namespace Discord.WebSocket
|
||||
/// </remarks>
|
||||
public GatewayIntents GatewayIntents { get; set; } = GatewayIntents.AllUnprivileged;
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets whether or not to log warnings related to guild intents and events.
|
||||
/// </summary>
|
||||
public bool LogGatewayIntentWarnings { get; set; } = true;
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="DiscordSocketConfig"/> class with the default configuration.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user