public interface CommandProvider
Modifier and Type | Method and Description |
---|---|
Set<String> |
getCommands()
Names of commands supported by this provider.
|
CompletableFuture<Object> |
runCommand(String command,
List<Object> arguments)
Run the specified command with the specified arguments.
|
Set<String> getCommands()
CompletableFuture<Object> runCommand(String command, List<Object> arguments)
command
- the command to runarguments
- the command-specific arguments