Class RateLimitInfo
A record containing the data to detect a rate limit.
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Color_Chan.Discord.Commands.Models
Assembly: Color-Chan.Discord.Commands.dll
Syntax
public class RateLimitInfo : IEquatable<RateLimitInfo>
Properties
| Improve this Doc View SourceExpiration
When this rate limit object is going to expire in the cache.
Declaration
public DateTimeOffset Expiration { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset |
Remaining
The amount of requests remaining.
Declaration
public int Remaining { get; set; }
Property Value
Type | Description |
---|---|
Int32 |