1.3r2
This commit is contained in:
parent
c45cec156d
commit
bd616721a2
69 changed files with 377 additions and 167 deletions
|
|
@ -47,10 +47,12 @@ public class HelpStrings {
|
|||
Map.entry("job", "/job <log|take|buyedu> [args...]"),
|
||||
Map.entry("ghelp", "/ghelp <command>")
|
||||
);
|
||||
|
||||
public static String getHelpString(String commandName) {
|
||||
return helpStrings.getOrDefault(commandName.toLowerCase(), "Not found.");
|
||||
return helpStrings.getOrDefault(commandName.toLowerCase(), "Not found.");
|
||||
}
|
||||
|
||||
public static String getHelpUsage(String commandName) {
|
||||
return helpUsages.getOrDefault(commandName.toLowerCase(), "Not found.");
|
||||
return helpUsages.getOrDefault(commandName.toLowerCase(), "Not found.");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue