This commit is contained in:
tyuXX 2026-01-25 21:24:28 +03:00
parent c45cec156d
commit bd616721a2
69 changed files with 377 additions and 167 deletions

View file

@ -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.");
}
}