Class CommandResult
Result returned by a command execution.
public record CommandResult : IEquatable<CommandResult>
- Inheritance
-
CommandResult
- Implements
- Inherited Members
Properties
Content
Response content to send back to the invoker.
public required string Content { get; init; }
Property Value
Ephemeral
Whether the response should be ephemeral (visible only to invoker). Supported on Discord (ephemeral responses) and Slack (response_type: ephemeral).
public bool Ephemeral { get; init; }
Property Value
Success
Whether the command succeeded.
public required bool Success { get; init; }