diff --git a/src/discord/MagicBot.java b/src/discord/MagicBot.java index 6a94647c..8be071ee 100644 --- a/src/discord/MagicBot.java +++ b/src/discord/MagicBot.java @@ -306,7 +306,7 @@ public class MagicBot extends ListenerAdapter { "#server reboot/shutdown are your options.\n" + "#logs magicbot/world/login n (tail)\n" + "#flash Send flash message\n" + - "#dev build /restart/debug/shutdown\n" + + "#dev help (list dev subcommands)\n" + "#trash /detail/flush"; sendResponse(event, helpString); } diff --git a/src/discord/handlers/DevRequestHandler.java b/src/discord/handlers/DevRequestHandler.java index b0d3f0ad..a9b741d1 100644 --- a/src/discord/handlers/DevRequestHandler.java +++ b/src/discord/handlers/DevRequestHandler.java @@ -60,6 +60,16 @@ public class DevRequestHandler { return; case "console": commandString = "./mbdevconsole.sh"; + break; + case "help": + MagicBot.sendResponse(event, + "#dev build (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; }