Class BaseRateLimitErrorResult
An error result describing a slash command rate limit.
Inheritance
BaseRateLimitErrorResult
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
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 |
---|---|
DateTimeOffset |
Max
The max amount of time the command could be used during the AbsoluteExpiration.
Declaration
public int Max { get; }
Property Value
Type | Description |
---|---|
Int32 |