1using System.Threading.Tasks;
20 public override string Name =>
"Reboot";
31 return XmppServerModule.Instance.ExecuteCommand(State.
To,
"shutdown /r", State,
false, ResponseCallback);
37 public override string[]
HelpParagraphs =>
new string[] {
"Reboots the system." };
An administrative command with no parameters.
override string Name
Command name
override Task Execute(ChatState State, string[] Arguments, string OrgMessage, ResponseCallbackHandler ResponseCallback)
Executes the command.
Reboot()
Reboots the machine
override string[] HelpParagraphs
Markdown description of syntax.
Service Module hosting the XMPP broker and its components.
delegate Task< string > ResponseCallbackHandler(string Markdown, string MessageId)
Delegate for response callback handler methods.