Interface IResult
Contains information of the result related to a command.
Assembly: Discord.Net.Commands.dll​
View Source​
Declaration
public interface IResult
Properties​
Error​
Describes the error type that may have occurred during the operation.
View Source​
Declaration
CommandError? Error { get; }
ErrorReason​
Describes the reason for the error.
View Source​
Declaration
string ErrorReason { get; }
IsSuccess​
Indicates whether the operation was successful or not.
View Source​
Declaration
bool IsSuccess { get; }