Search Results for

    Show / Hide Table of Contents

    Class BaseRateLimitErrorResult

    An error result describing a slash command rate limit.

    Inheritance
    Object
    ErrorResult
    InteractionRequirementErrorResult
    BaseRateLimitErrorResult
    GuildRateLimitErrorResult
    UserRateLimitErrorResult
    Implements
    IErrorResult
    IEquatable<ErrorResult>
    IEquatable<InteractionRequirementErrorResult>
    IEquatable<BaseRateLimitErrorResult>
    Inherited Members
    ErrorResult.ErrorMessage
    System.Object.Equals(System.Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Object.ToString()
    Namespace: Color_Chan.Discord.Commands.Models.Results
    Assembly: Color-Chan.Discord.Commands.dll
    Syntax
    public class BaseRateLimitErrorResult : InteractionRequirementErrorResult, IErrorResult, IEquatable<ErrorResult>, IEquatable<InteractionRequirementErrorResult>, IEquatable<BaseRateLimitErrorResult>

    Properties

    | Improve this Doc View Source

    AbsoluteExpiration

    The timeframe in which the command can be used a certain amount of times

    Declaration
    public DateTimeOffset AbsoluteExpiration { get; }
    Property Value
    Type Description
    DateTimeOffset
    | Improve this Doc View Source

    Max

    The max amount of time the command could be used during the AbsoluteExpiration.

    Declaration
    public int Max { get; }
    Property Value
    Type Description
    Int32

    Implements

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