Class UserRateLimitErrorResult
An error result describing a slash command rate limit.
Inheritance
System.Object
UserRateLimitErrorResult
Implements
System.IEquatable<ErrorResult>
System.IEquatable<InteractionRequirementErrorResult>
System.IEquatable<BaseRateLimitErrorResult>
System.IEquatable<UserRateLimitErrorResult>
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 UserRateLimitErrorResult : BaseRateLimitErrorResult, IErrorResult, IEquatable<ErrorResult>, IEquatable<InteractionRequirementErrorResult>, IEquatable<BaseRateLimitErrorResult>, IEquatable<UserRateLimitErrorResult>
Constructors
| Improve this Doc View SourceUserRateLimitErrorResult(BaseRateLimitErrorResult, IDiscordUser)
Initializes a new instance of UserRateLimitErrorResult.
Declaration
public UserRateLimitErrorResult(BaseRateLimitErrorResult baseError, IDiscordUser user)
Parameters
Type | Name | Description |
---|---|---|
BaseRateLimitErrorResult | baseError | |
IDiscordUser | user | The user that hit the rate limit. |
Properties
| Improve this Doc View SourceUser
The user that hit the rate limit.
Declaration
public IDiscordUser User { get; }
Property Value
Type | Description |
---|---|
IDiscordUser |
Implements
System.IEquatable<T>
System.IEquatable<T>
System.IEquatable<T>
System.IEquatable<T>