Class RequireGuildOwnerErrorResult
An error describing when a requirement failed for the RequireGuildOwnerAttribute.
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 RequireGuildOwnerErrorResult : InteractionRequirementErrorResult, IErrorResult, IEquatable<ErrorResult>, IEquatable<InteractionRequirementErrorResult>, IEquatable<RequireGuildOwnerErrorResult>
Constructors
| Improve this Doc View SourceRequireGuildOwnerErrorResult(String)
Initializes a new instance of RequireGuildOwnerErrorResult.
Declaration
public RequireGuildOwnerErrorResult(string errorMessage)
Parameters
Type | Name | Description |
---|---|---|
String | errorMessage | The message of the error. |