diff --git a/src/Discord.Net.Core/DiscordConfig.cs b/src/Discord.Net.Core/DiscordConfig.cs
index 429ad7b0c..da8525644 100644
--- a/src/Discord.Net.Core/DiscordConfig.cs
+++ b/src/Discord.Net.Core/DiscordConfig.cs
@@ -16,7 +16,7 @@ namespace Discord
/// Discord API documentation
/// .
///
- public const int APIVersion = 6;
+ public const int APIVersion = 9;
///
/// Returns the Voice API version Discord.Net uses.
///
@@ -43,7 +43,7 @@ namespace Discord
///
/// The user agent used in each Discord.Net request.
///
- public static string UserAgent { get; } = $"DiscordBot (https://github.com/RogueException/Discord.Net, v{Version})";
+ public static string UserAgent { get; } = $"DiscordBot (https://github.com/discord-net/Discord.Net, v{Version})";
///
/// Returns the base Discord API URL.
///
@@ -141,18 +141,6 @@ namespace Discord
///
internal bool DisplayInitialLog { get; set; } = true;
- ///
- /// Gets or sets the level of precision of the rate limit reset response.
- ///
- ///
- /// If set to , this value will be rounded up to the
- /// nearest second.
- ///
- ///
- /// The currently set .
- ///
- public RateLimitPrecision RateLimitPrecision { get; set; } = RateLimitPrecision.Millisecond;
-
///
/// Gets or sets whether or not rate-limits should use the system clock.
///
diff --git a/src/Discord.Net.Core/GatewayIntents.cs b/src/Discord.Net.Core/GatewayIntents.cs
index f3dc5ceb9..6976806b2 100644
--- a/src/Discord.Net.Core/GatewayIntents.cs
+++ b/src/Discord.Net.Core/GatewayIntents.cs
@@ -39,5 +39,16 @@ namespace Discord
DirectMessageReactions = 1 << 13,
/// This intent includes TYPING_START
DirectMessageTyping = 1 << 14,
+ ///
+ /// This intent includes all but and
+ /// that are privileged must be enabled for the application.
+ ///
+ AllUnprivileged = Guilds | GuildBans | GuildEmojis | GuildIntegrations | GuildWebhooks | GuildInvites |
+ GuildVoiceStates | GuildMessages | GuildMessageReactions | GuildMessageTyping | DirectMessages |
+ DirectMessageReactions | DirectMessageTyping,
+ ///
+ /// This intent includes all of them, including privileged ones.
+ ///
+ All = AllUnprivileged | GuildMembers | GuildPresences
}
}
diff --git a/src/Discord.Net.WebSocket/DiscordSocketConfig.cs b/src/Discord.Net.WebSocket/DiscordSocketConfig.cs
index a45d4f5be..90b746787 100644
--- a/src/Discord.Net.WebSocket/DiscordSocketConfig.cs
+++ b/src/Discord.Net.WebSocket/DiscordSocketConfig.cs
@@ -127,12 +127,6 @@ namespace Discord.WebSocket
///
public bool? ExclusiveBulkDelete { get; set; } = null;
- ///
- /// Gets or sets enabling dispatching of guild subscription events e.g. presence and typing events.
- /// This is not used if are provided.
- ///
- public bool GuildSubscriptions { get; set; } = true;
-
///
/// Gets or sets the maximum identify concurrency.
///
@@ -172,14 +166,15 @@ 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.
+ /// Gets or sets gateway intents to limit what events are sent from Discord.
+ /// The default is .
///
///
/// For more information, please see
/// GatewayIntents
/// on the official Discord API documentation.
///
- public GatewayIntents? GatewayIntents { get; set; }
+ public GatewayIntents GatewayIntents { get; set; } = GatewayIntents.AllUnprivileged;
///
/// Initializes a new instance of the class with the default configuration.