Search Results for

    Show / Hide Table of Contents

    Class UserRateLimitErrorResult

    An error result describing a slash command rate limit.

    Inheritance
    Object
    ErrorResult
    InteractionRequirementErrorResult
    BaseRateLimitErrorResult
    UserRateLimitErrorResult
    Implements
    IErrorResult
    IEquatable<ErrorResult>
    IEquatable<InteractionRequirementErrorResult>
    IEquatable<BaseRateLimitErrorResult>
    IEquatable<UserRateLimitErrorResult>
    Inherited Members
    BaseRateLimitErrorResult.Max
    BaseRateLimitErrorResult.AbsoluteExpiration
    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 UserRateLimitErrorResult : BaseRateLimitErrorResult, IErrorResult, IEquatable<ErrorResult>, IEquatable<InteractionRequirementErrorResult>, IEquatable<BaseRateLimitErrorResult>, IEquatable<UserRateLimitErrorResult>

    Constructors

    | Improve this Doc View Source

    UserRateLimitErrorResult(BaseRateLimitErrorResult, IDiscordUser)

    Initializes a new instance of UserRateLimitErrorResult.

    Declaration
    public UserRateLimitErrorResult(BaseRateLimitErrorResult baseError, IDiscordUser user)
    Parameters
    Type Name Description
    BaseRateLimitErrorResult baseError

    The BaseRateLimitErrorResult.

    IDiscordUser user

    The user that hit the rate limit.

    Properties

    | Improve this Doc View Source

    User

    The user that hit the rate limit.

    Declaration
    public IDiscordUser User { get; }
    Property Value
    Type Description
    IDiscordUser

    Implements

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