Browse Source

change: use millisecond precision by default

this is More Precise and will allow us to handle ratelimits Much Easier
tags/2.2.0
Christopher Felegy 5 years ago
parent
commit
bcb3534195
No known key found for this signature in database GPG Key ID: 3AB2CA980DDC61A9
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Discord.Net.Core/DiscordConfig.cs

+ 1
- 1
src/Discord.Net.Core/DiscordConfig.cs View File

@@ -151,6 +151,6 @@ namespace Discord
/// <returns>
/// The currently set <see cref="RateLimitPrecision"/>.
/// </returns>
public RateLimitPrecision RateLimitPrecision { get; set; } = RateLimitPrecision.Second;
public RateLimitPrecision RateLimitPrecision { get; set; } = RateLimitPrecision.Millisecond;
}
}

Loading…
Cancel
Save