Class GuildRateLimitErrorResult
An error result describing a slash command rate limit.
Inheritance
GuildRateLimitErrorResult
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 GuildRateLimitErrorResult : BaseRateLimitErrorResult, IErrorResult, IEquatable<ErrorResult>, IEquatable<InteractionRequirementErrorResult>, IEquatable<BaseRateLimitErrorResult>, IEquatable<GuildRateLimitErrorResult>
Constructors
| Improve this Doc View SourceGuildRateLimitErrorResult(BaseRateLimitErrorResult, UInt64)
Initializes a new instance of GuildRateLimitErrorResult.
Declaration
public GuildRateLimitErrorResult(BaseRateLimitErrorResult baseError, ulong guildId)
Parameters
Type | Name | Description |
---|---|---|
BaseRateLimitErrorResult | baseError | |
System.UInt64 | guildId | The server that hit the rate limit. |
Properties
| Improve this Doc View SourceGuildId
The Server that hit the rate limit.
Declaration
public ulong GuildId { get; }
Property Value
Type | Description |
---|---|
System.UInt64 |