Interface CommandMessages
- All Known Implementing Classes:
DefaultCommandMessages
public interface CommandMessages
-
Method Summary
Modifier and TypeMethodDescriptionexecutionError(CommandExecutionContext context, Throwable throwable) invalidArgumentValue(CommandExecutionContext context, CommandParameterMetadata parameter, String input) missingRequiredArgument(CommandExecutionContext context, CommandParameterMetadata parameter) noPermission(CommandExecutionContext context, String permission) default StringonCooldown(CommandExecutionContext context, Duration remaining) senderTypeMismatch(CommandExecutionContext context, Class<?> expectedSenderType) unknownSubcommand(CommandExecutionContext context) usage(CommandExecutionContext context, String usage)
-
Method Details
-
missingRequiredArgument
-
invalidArgumentValue
String invalidArgumentValue(CommandExecutionContext context, CommandParameterMetadata parameter, String input) -
noPermission
-
senderTypeMismatch
-
unknownSubcommand
-
usage
-
executionError
-
onCooldown
-