public interface ChatCommandProcessor
ChatCommandDispatcher
.Modifier and Type | Method and Description |
---|---|
String |
doProcess(String[] command) |
String |
getCommandPrefix()
Prefix used to be used when determining whether this processor should respond to a command.
|
String |
getDescription()
Description to be used when the
ChatCommandDispatcher describes this processor. |
org.apache.commons.cli.Options |
getOptions() |
String |
getPackageName() |
String getCommandPrefix()
A prefix of 'github' will respond to commands with 'github --search myrepo'
String getDescription()
ChatCommandDispatcher
describes this processor.org.apache.commons.cli.Options getOptions()
String doProcess(String[] command)
command
- Command to be processedString getPackageName()
Copyright © 2023. All rights reserved.