Search Results for

    Show / Hide Table of Contents

    Class RateLimitInfo

    A record containing the data to detect a rate limit.

    Inheritance
    System.Object
    RateLimitInfo
    Implements
    System.IEquatable<RateLimitInfo>
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Color_Chan.Discord.Commands.Models
    Assembly: Color-Chan.Discord.Commands.dll
    Syntax
    public class RateLimitInfo : IEquatable<RateLimitInfo>

    Properties

    | Improve this Doc View Source

    Expiration

    When this rate limit object is going to expire in the cache.

    Declaration
    public DateTimeOffset Expiration { get; set; }
    Property Value
    Type Description
    System.DateTimeOffset
    | Improve this Doc View Source

    Remaining

    The amount of requests remaining.

    Declaration
    public int Remaining { get; set; }
    Property Value
    Type Description
    System.Int32

    Implements

    System.IEquatable<T>
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX