Interface CommandSuccessAck

All Superinterfaces:
CommandResult, CommandSuccess

public interface CommandSuccessAck extends 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 Summary

    Modifier and Type
    Method
    Description
    The message to send if the command was not triggered by a message.
    The react to use if the command was triggered by a message.
  • Method Details

    • react

      The react to use if the command was triggered by a message.
      Returns:
      The react.
    • message

      @Pure String message()
      The message to send if the command was not triggered by a message.
      Returns:
      The message.