Class BaseRateLimitErrorResult
An error result describing a slash command rate limit.
Inheritance
System.Object
BaseRateLimitErrorResult
Implements
System.IEquatable<ErrorResult>
System.IEquatable<InteractionRequirementErrorResult>
System.IEquatable<BaseRateLimitErrorResult>
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.Results
Assembly: Color-Chan.Discord.Commands.dll
Syntax
public class BaseRateLimitErrorResult : InteractionRequirementErrorResult, IErrorResult, IEquatable<ErrorResult>, IEquatable<InteractionRequirementErrorResult>, IEquatable<BaseRateLimitErrorResult>
Properties
| Improve this Doc View SourceAbsoluteExpiration
The timeframe in which the command can be used a certain amount of times
Declaration
public DateTimeOffset AbsoluteExpiration { get; }
Property Value
Type | Description |
---|---|
System.DateTimeOffset |
Max
The max amount of time the command could be used during the AbsoluteExpiration.
Declaration
public int Max { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Implements
System.IEquatable<T>
System.IEquatable<T>
System.IEquatable<T>