Interface CommandSuccessAck
- All Superinterfaces:
CommandResult,CommandSuccess
A successful result that should be acknowledged to the user.
The default handler handles this result by reacting to the
triggering message with the value given by react(), if the command was triggered
by a message, otherwise privately responding with the
message given by message().
- Since:
- 1.0
- Version:
- 1.0
-
Method Details
-
react
The react to use if the command was triggered by a message.- Returns:
- The react.
-
message
The message to send if the command was not triggered by a message.- Returns:
- The message.
-