Added help for #dev subcommands

This commit is contained in:
2023-01-10 08:51:00 -05:00
parent 81b7259423
commit 98470d4b1a
2 changed files with 11 additions and 1 deletions
+1 -1
View File
@@ -306,7 +306,7 @@ public class MagicBot extends ListenerAdapter {
"#server reboot/shutdown are your options.\n" +
"#logs magicbot/world/login n (tail)\n" +
"#flash <text> Send flash message\n" +
"#dev build <target>/restart/debug/shutdown\n" +
"#dev help (list dev subcommands)\n" +
"#trash <blank>/detail/flush";
sendResponse(event, helpString);
}
@@ -60,6 +60,16 @@ public class DevRequestHandler {
return;
case "console":
commandString = "./mbdevconsole.sh";
break;
case "help":
MagicBot.sendResponse(event,
"#dev build <target> (blank==master) \n" +
"#dev shutdown (Shutdown dev server)\n" +
"#dev restart (Restarts the server)\n"+
"#dev debug (Restarts server in debug mode)\n" +
"#dev console # (Displays # lines from console)\n" +
"#dev lastout (Displays output from last command) \n");
return;
default:
break;
}